Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1734172
  • 博文数量: 297
  • 博客积分: 285
  • 博客等级: 二等列兵
  • 技术积分: 3006
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-06 22:04
个人简介

Linuxer, ex IBMer. GNU https://hmchzb19.github.io/

文章分类

全部博文(297)

文章存档

2020年(11)

2019年(15)

2018年(43)

2017年(79)

2016年(79)

2015年(58)

2014年(1)

2013年(8)

2012年(3)

分类: LINUX

2018-07-04 18:20:13

sublime 3 支持中文需要一个package 叫converttoutf8, 然后再安装codec33.

1.  control+~ :输入命令 可以参考

点击(此处)折叠或打开

  1. import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( '' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

2. 安装成功后,使用Ctrl+shift+p:
选择 package control - install package:
选择converttoutf8

3. 最后使用Ctrl+shift+p: 安装codecs33

阅读(1064) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~