Tool Series Sublime Text 3 Usage Summary

Source: Internet
Author: User

1, Sublime Text 2/3 How to support Chinese GBK encoding (solve Chinese garbled)

Sublime text default is only support UTF8 encoding, so sometimes, when we open the GBK file, the file will be in the first part of the garbled, as shown in:

Sublime Text 3 does not support Chinese GBK encoding, in the editing of some GBK encoded files will appear garbled, although sublime text 2 has a lot of support GBK encoded plug-ins, but mostly in sublime text 3 can not work, including GBK  Encoding Support Plugin. Search on the Internet a lot about solving sublime Text 3 display Chinese garbled methods are not.

My solution is as follows: Search for ConvertToUTF8 and Codecs33in the package control.

1) Select "Preferences"-"package Control" in the menu bar, or use the shortcut key ctrl+shift+p to recall

2) Enter "Install package" in the input box and click the "Install Package" which is automatically prompted below.

3) After a few seconds, will pop up an input box, enter "CovertToUTF8" in the input box, the following will be the corresponding plug-in, mouse click Install; Wait a few seconds, the plugin will be installed successfully.

4) Install the CODECS33 in the same way.

5) Without restarting sublime Text, you will find that Chinese content has been displayed correctly.

Tool Series Sublime Text 3 Usage Summary

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.