How to solve sublime Text 2 Chinese display garbled problem
1, install sublime package Control.
Ctrl+~ Open the console 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. Use Ctrl+shift+p to open the command line mode, enter the install package inside to search for the need to install packages.
4. Search for "ConvertToUTF8" and "GBK Encoding support" to read and write files in CJK format normally.
This article is from the "Home_tang" blog, make sure to keep this source http://yagetang.blog.51cto.com/1780698/1773406
How to solve sublime Text 2 Chinese display garbled problem