Sublime Text 3 Garbled solution

Source: Internet
Author: User

Steps:

  1. In sublime text, press CTRL + ', open the console and enter the following code at once:

    ‘Package Control.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())

    This sublime text will install the package Control we need. Otherwise, the package will not be found later.

  2. Restart Sublime Text.

  3. In sublime text, press ctrl+shift+p to open command-line mode, enter the Install package keyword, and then click the first item in the Auto-drop-down menu: Package Control:install.

  4. At this point you will see a = sign in the lower left corner to move around, wait a moment, will again in the command line to pop up a drop-down menu. Enter "ConvertToUTF8" or "GBK Encoding support" to select a match. Chinese characters are displayed as normal.

Sublime Text 3 Garbled solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.