Encoding problem on vscode with code runner #142327
-
BodyHello, I am a French developer, and I am encountering a bug on VSCode with the Code Runner extension. When I try to display the character 'é', it is replaced in the VSCode terminal by a white diamond with a question mark. Do you have any ideas about this bug? I have already set VSCode and Code Runner to UTF-8, and I don't have this issue on any other terminal or PowerShell. Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In code runner command line it use a cmd.exe by default which it might not support characters outside of the basic ASCII set. |
Beta Was this translation helpful? Give feedback.
-
You just need to replace per this python |
Beta Was this translation helpful? Give feedback.
You just need to replace per this
python
"code-runner.executorMap": {
"python": "python -u -X utf8",
}