Install the package ControlAutomatic installation
To use CTRL + ' shortcut keys or open the command line from the View->show console menu, paste the following code:
Import Urllib.request,os; PF = ' Packagecontrol.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener ( Urllib.request.ProxyHandler ())); Open (Os.path.join (IPP, PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace (', '%20 ')) . Read ())
If it goes well, you can now see the package settings and the package control two menus under the Preferences menu. Manual Installation
You may not be able to install using code for a variety of reasons, and you can manually install the package Control by clicking the Preferences>browsepackages menu and entering the upper directory of the Open directory before entering installed packages/Directory download package control.sublime-package and copy to installed packages/directory restart Sublimetext
Reference and package download address use the pack Control to open the command line, enter install package, return
Windows:ctrl+shift+p mac:command+shift+p Input Install package, enter
Continue entering ConvertToUTF8, enter
However, it is still a mistake to open the local file after installation
Originally is missing Codecs, so open command line –> Enter install package–>codecs Repeat step install ConvertToUTF8 restart Sublime text3, open garbled file (if there is garbled, press CTRL + SHIFT+C)
Reference