Resolve Sublime Text 3 garbled

Source: Internet
Author: User

Reproduced from: http://www.1990day.com/solve-sublime-text3-garbled/

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

Import Urllib.request,os,hashlib; h = ' eb2297e1a458f27d836c04bb0cbaf282 ' + ' d0e7a3098092775ccb37ca9d6b2e4b7d '; 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://packagecontrol.io/' + 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)  

If not, click Packagecontrol the URL, copy the new code at the URL, and execute.

2, restart sublime text3,command+shift+p open the command line

Enter "Install package" at the bottom there is a "=" in the walk, and so motionless

3, continue to enter Converttoutf8, the following will be prompted, click

4, if the opening of the time or garbled, and prompted with error. Perform step 3 again and enter CODECS33

New problems encountered, sublime Text always prompt update, very annoying.

1, find Preferences-> Settings-user (set up users)
2. Add before the end of the last curly brace ("}")

    , "Update_check": false

Turn off restart sublime text.

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.

Tags Index: