Sublime Text 2: [Decode error - output not utf-8]

打开C:\Program Files (x86)\Sublime Text 2\Data\Packages\Python的Python.sublime-build,增加"encoding": "cp936"即可

即:

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

 

posted @ 2016-03-01 14:29  水月灵心  阅读(173)  评论(0编辑  收藏  举报