View > Show Console
Import Urllib.request,os,hashlib; h = ' 7183a2d3e96f11eeadd761d777e62404 ' + ' e330c659d4bb41d3bdf022e94cab3cd0 '; 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 (' http://packagecontrol.io/' + 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.pat H.join (IPP, PF), ' WB '). Write (by) |
Ctrl + Shift + P--Install package--ConvertToUTF8
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/54/74/wKioL1SDCiDxI222AAMNrVFRgjc006.jpg "title=" Qq20141206214638.jpg "alt=" Wkiol1sdcidxi222aamnrvfrgjc006.jpg "/>
Reference article: Https://sublime.wbond.net/installation#st3
This article is from the "Perfection" blog, please make sure to keep this source http://alipay.blog.51cto.com/7119970/1587185
Sublime Text 3 tips: Supports GB2312 and GBK encoding