Solve Sublime Text 3 Chinese display garbled problem

Source: Internet
Author: User
Solve Sublime Text 3 Chinese display garbled problem (GO)

1. Open Sublime Text 3, press ctrl+~ to open the control line, copy and paste the following Python code, and then enter run.

2. Copy and paste the following code:

Import Urllib.request,os,hashlib; h = ' 7183a2d3e96f11eeadd761d777e62404e330c659d4bb41d3bdf022e94cab3cd0 '; PF = ' package control.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); by = Urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace (', '%20 ')). read (); DH = hashlib.sha256 (by). Hexdigest (); Print (' Error validating download (got%s instead of%s), please try manual install '% (DH, h)) if DH! = H Else Open (Os.pat H.join (IPP, PF), ' WB '). Write (by)  


2. Restart Sublime Text 3. 3, press Ctrl+shift+p to open the command line, enter the install package, carriage return, and then continue to enter ConvertToUTF8, carriage return. After installation, should solve the problem, if still not, and then install CONVERTTOUTF8 installation GBK Encoding support, just fine.

Solve Sublime Text 3 Chinese display garbled problem (GO)

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.