Sublime text does not support Chinese solution

Source: Internet
Author: User
Tags get ip

The essence is not support for gdk,gb2312 encoding

1. For 2.0.2 version

Enter the following Python command to install the package control. (View-->show console)

---------------------------------------------------------------------------

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 (', ')). read ()); print ' Restart Sublime Text to finish installation '

---------------------------------------------------------------------------

2. Open the command panel Tools-->command Palatte. (ctrl+shift+p)

Enter the Install package and select the "Package Control:install package" option

All supported extensions are listed in the original panel, input ConvertUTF8 Select Install, wait for completion.

Note:

1 Completing the package control requires exiting the sublime process

2 package Control:there is no packages available for installation (by the wall? )

Workaround:

The first step: Get the IPV4 address of sublime.wbond.net. At the command prompt, enter the following command:

Ping Sublime.wbond.net Get ip:50.116.34.243

Add the following line to the Hosts file

50.116.34.243 sublime.wbond.net

---------------------------------------------------------------------------

"Reference Document"

http://blog.csdn.net/freshlover/article/details/44261229

Sublime Text cannot be resolved by using the package control or plug-in installation failure


This article is from a "sword Siege" blog, please make sure to keep this source http://weijiancheng.blog.51cto.com/10190955/1697447

Sublime text does not support Chinese solution

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.