以win 10 为例, 找到文件C:UsersxxzxAppDataRoamingSublime Text 2PackagesPythonPython.sublime-build
添加"encoding":"cp936"
, 如图:
{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
"encoding":"cp936",
"selector": "source.python"
}