sublime text3輸出窗口中文顯示亂碼問題解決方案

1 前言python

bash

2 方案ui

修改Python3.sublime-build內容爲3d

{
"cmd": ["C:/Users/Administrator/AppData/Local/Programs/Python/Python37/python.exe","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936"
}

 說明:主要是添加"encoding":"cp936"就能夠。blog

以前輸出:cmd

修改後輸出:class

3 參考coding

https://www.jianshu.com/p/a0c8e8f22467file

相關文章
相關標籤/搜索