VSCode code-runner Python 乱码解决办法
-
方法1
"code-runner.executorMap": { "python":"export PYTHONIOENCODING=UTF-8 && $pythonPath $fullFileName" },
-
方法2
"code-runner.executorMap": { "python":"cd $dir && $pythonPath $fullFileName" }, "code-runner.runInTerminal": false,