VSCode code-runner Python 乱码解决办法

  1. 方法1

     "code-runner.executorMap": {
        "python":"export PYTHONIOENCODING=UTF-8 && $pythonPath $fullFileName"
    },
  2. 方法2

    "code-runner.executorMap": {
        "python":"cd $dir && $pythonPath $fullFileName"
    },
    "code-runner.runInTerminal": false,

猜你喜欢

转载自www.cnblogs.com/Juworchey/p/9070874.html
今日推荐