Solve the sublime Text 2 Chinese display garbled problem

Source: Internet
Author: User
Tags sublime text

1. Install Sublime Package Control

Open the console with ctrl+~ and enter the following code inside:

Import Urllib2,os; Pf= ' Package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) if not os.path.exists (IPP) else None; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); Open (Os.path.join (IPP,PF), ' WB '). Write (Urllib2.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 '). Read () ); Print (' Restart Sublime Text to finish installation ')
The following is displayed after carriage return:

Indicates that the installation was successful.

2. Restart Sublime Text 2

3. Open command line mode with CTRL+SHIFT+P, enter the install package inside

If this is not the case, please restart your computer and try again.

4. Enter ConvertToUTF8 after carriage return

Select to install until the lower-left corner of the edit window is displayed

Indicates that the installation was successful.

5, repeat 2-4 steps, install GBK Encoding support

6, restart Sublime Text 2, complete.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Solve the sublime Text 2 Chinese display garbled problem

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.