vscode终端操作台中文乱码问题解决(适配新版本vscode)

原创
小哥 3年前 (2022-11-16) 阅读数 10 #大杂烩

进入文件-> 首选项->设置中编辑setting,如果不是中文可以按ctrl + shift +p 进入 Configure display language进行设置。

之后直接添加参数

 "terminal.integrated.profiles.windows": {
        "PowerShell": {
          "source": "PowerShell",
          "overrideName": true,
          "args": ["-NoExit", "/c", "chcp 65001"],
          "icon": "terminal-powershell",
          "env": {
            "TEST_VAR": "value"
          }
        }
      },
    "terminal.integrated.defaultProfile.windows": "PowerShell",
版权声明

所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除