Sublime Text 3 garbled

Source: Internet
Author: User

Sublime text is a very useful text editing software, it is necessary for programmers, but recently found in the Mac side when used, Chinese garbled,

Some of the online solutions, plagiarism serious, did not solve the actual problem, so record their own problem-solving process.

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

Import if Else Open (Os.path.join (IPP, PF), ' WB '). Write (by)  

2. Restart Sublime Text 3.

3, press windows:ctrl+shift+p;mac:command+shift+p Open the command line, enter the Installpackage, return, and continue typing ConvertToUTF8, enter.

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

The original is missing Codecs, so open command line here--input installPackage---Codecs,

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

Darren

Weibo: @IT_ Siege Division

GitHub: @Darren90

Source: http://www.cnblogs.com/fengtengfei/

Sublime Text 3 garbled

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.