1, install sublime package Control.
Open the console with ctrl+~ on Sublime text 2 and enter the following code in it, Sublime text 2 will automatically install the package control.
Import Urllib2,os; Pf= ' Package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) if not os.path.exists (IPP) else None; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); Open (Os.path.join (IPP,PF), ' WB '). Write (Urllib2.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 '). Read () ); Print (' Restart Sublime Text to finish installation ')
2. Restart Sublime Text 2
3. Then use Ctrl+shift+p to open the command line mode and enter the install package inside to search for the required package.
4, generally use "ConvertToUTF8" and "GBK Encoding support" can read and write the CJK format files normally.
Fix Sublime Text 2 Chinese garbled