python输出中文乱码

首选项-浏览插件目录-USER文件夹

找到编译环境设置,编译方式为UTF-8编码

1 { 
2 "cmd": ["c:/Python36/python.exe","-u", "$file"], //自己安装路径
3 "file_regex":"^[ ]*File \"(...*?)\", line ([0-9])*",
4 "env": {"PYTHONIOENCODING": "utf8"}, 
5 "selector": "source.python" 
6 } 

 

posted @ 2020-04-17 02:08  蛮好不太坏  阅读(1527)  评论(0编辑  收藏  举报