Sublime Text 3 Chinese garbled solution

Source: Internet
Author: User
Tags sublime text

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

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 '% (DH, h)) if DH install h else open (!= H.join (IPP, PF), ' WB '. Write (by)

2, restart sublime Text 3.

3, press Windows:ctrl+shift+p;mac:command+shift+p to open the command line, enter install Package, return, and then continue to enter the ConvertToUTF8, carriage return.

However, it is still an error to open the local file after installation.

The original is missing Codecs, so this opens the command line--> input install Package-->codecs,

Restart Sublime Text 3, open the garbled file press Ctrl+shift+c

Below this is the PC side sublime Text3 Chinese garbled Solution:

Sublime Text3 has always been a programmer has been a lightweight editing tool, but we are happy to use it to open our previous edited documents found that the original Chinese now all become sincere garbled, today I teach you how to solve the Sublime Text3 under the Chinese garbled problem.

1, we use the installation of a good sublime text3 open with Notepad to edit the file to see the previous Chinese are all garbled

Garbled bag: dl.vmall.com/c0avb7amy8

2, we click on the interface preferences-->browse packages open file browsing package.

3, the download of a good language package files extracted to packages file, and then reopen just opened the file to try to see the effect.

4, see is not just garbled into the Chinese we want to.

/center>
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.