sublime text 2 解决错误 [Decode error - output not utf-8]

以win 10 为例, 找到文件C:\Users\xxzx\AppData\Roaming\Sublime Text 2\Packages\Python\Python.sublime-build
添加"encoding":"cp936", 如图:

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

posted @ 2016-11-07 17:24  LisPythoniC  阅读(199)  评论(0编辑  收藏  举报