打开C:Program Files (x86)Sublime Text 2DataPackagesPython的Python.sublime-build,增加"encoding": "cp936"即可
即:
{ "cmd": ["python", "-u", "$file"], "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)", "selector": "source.python", "encoding": "cp936" }
打开C:Program Files (x86)Sublime Text 2DataPackagesPython的Python.sublime-build,增加"encoding": "cp936"即可
即:
{ "cmd": ["python", "-u", "$file"], "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)", "selector": "source.python", "encoding": "cp936" }