vscode _coderunner 中文乱码


设置使用 built-in terminal

    1) 首先到用户设置中搜索设置Code-runner: Language ID To File Extension Map

      点击"在settings.json中编辑"

 

   2)添加如图所示代码, 保存即可
"code-runner.runInTerminal": true,

 

 
    
{
    "files.autoSave": "afterDelay",
    "window.zoomLevel": 0,
    "editor.fontSize": 18,
    "python.pythonPath": "D:\\ProgramData\\Anaconda3\\envs\\py37\\python.exe",
    "code-runner.clearPreviousOutput": true,
    "code-runner.runInTerminal": true,
}

 

 方法二:

  在cmd中输入

  CHCP 65001


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM