1. Install Sublime Package Control
Open the console with ctrl+~ and enter the following code inside:
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 ')
The following is displayed after carriage return:
Indicates that the installation was successful.
2. Restart Sublime Text 2
3. Open command line mode with CTRL+SHIFT+P, enter the install package inside
If this is not the case, please restart your computer and try again.
4. Enter ConvertToUTF8 after carriage return
Select to install until the lower-left corner of the edit window is displayed
Indicates that the installation was successful.
5, repeat 2-4 steps, install GBK Encoding support
6, restart Sublime Text 2, complete.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Solve the sublime Text 2 Chinese display garbled problem