第一步:安装package control
cd
/Users/xxxx/Library/Application Support/Sublime Text 3/Packages
git clone https://github.com/wbond/sublime_package_control.git "Package Control"
第二步:安装ConvertToUTF8
输入 Package Control: Install Package , 单击回车.
输入 ConvertToUTF8 .
control+~
显示网络异常
修复方法如下
在 "Preferences -> Package Settings -> Package Control -> Settings User" 中新添加一个项 "channels"
"downloader_precedence":
{
"linux": [ "curl", "urllib", "wget" ],
"osx": [ "curl", "urllib" ],
"windows": [ "wininet" ]
},
修复完成后
输入 Package Control: Install Package , 单击回车.
输入 ConvertToUTF8 .
参考资料:https://www.twle.cn/t/571
3. 安装Codecs33
输入 Package Control: Install Package , 单击回车.
输入 安装Codecs33 .
参考资料:https://blog.csdn.net/zhanglong_4444/article/details/104464070