Sublime Text 3 python输出中文报错

新建编译系统

{
  "shell_cmd": "Python3 $file",
  "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
  "selector": "source.python",
  "env":{"PYTHONIOENCODING":"utf-8"}
}
复制代码

主要是加上这句话 "env":{"PYTHONIOENCODING":"utf-8"}

转载于:https://juejin.im/post/5b389196f265da598e13ffd3

你可能感兴趣的:(Sublime Text 3 python输出中文报错)