Reputation: 15
I'va already set "files.autoGuessEncoding": true
in setttings.json.
And altough I manually changed the UTF-8 on the lower right corner of the interface to GB18030 or GBK, it still didn't work.
Upvotes: 0
Views: 2273
Reputation: 9521
Add this in Settings.json would solve this question:
"code-runner.executorMap": {
"python": "set PYTHONIOENCODING=utf8 && python -u",
}
Upvotes: 2