vscode-code-runner
vscode-code-runner copied to clipboard
output has ��
My file name and class name are different , so I will get an error . I know. but the utf8(maybe only chinese) is � how to fix it
have you resolved that old bro?
If the output here is the result of the code running, there is no problem. If it is the system content, for example, if there is a problem with the prompt code, it will be garbled.
现在好像还不行,除非在终端输出
See https://github.com/formulahendry/vscode-code-runner/issues/271#issuecomment-372330573:
For stdin support and encoding issue, please use the below setting (
File
->Preference
->Settings
) to run code in Integrated Terminal:{ "code-runner.runInTerminal": true }
See #271 (comment):
For stdin support and encoding issue, please use the below setting (
File
->Preference
->Settings
) to run code in Integrated Terminal:{ "code-runner.runInTerminal": true }
That is right!!!👍