1 安装 Package Control
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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 install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
2 Installation
Using Package Control to find, install and upgrade ConvertToUTF8 is the recommended method to install this plug-in.
Otherwise, you can download this repository as a zip file, unzip it, and rename the new folder to ConvertToUTF8, then move this folder to Packages folder of Sublime Text (You can find the Packages folder by clicking "Preferences > Browse Packages" menu en
MAC OSX ConvertToUTF8 安装步骤(解决SublimeText2/SublimeText3显示非UTF8中文乱码问题)
本文介绍了如何在MAC OS上安装ConvertToUTF8插件,以解决SublimeText 2和3中显示非UTF8中文乱码的问题。首先,通过Package Control安装该插件,其次,提供了手动下载和安装的步骤,最后提醒根据Sublime Text的版本选择安装Codecs26或Codecs33。

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



