标题:sublime text3 用python控制台无法显示中文

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

时间:2018/4/11 21:42:19

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

内容:

直接在软件上 点击 Preferences → Browse Packages 查看是否有Python 文件夹,如果有 同上,


修改 Python.sublime-build 

{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936"
}

直接在软件上 点击 Preferences → Browse Packages 查看是否有Python 文件夹,如果有 同上,

修改 Python.sublime-build 

{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936"
}