vscode-code-runner
vscode-code-runner copied to clipboard
[Bug] An error will be thrown when the initial line of the file is a Chinese comment(SyntaxError: Non-ASCII character '\xe7')
- VS Code Version: Version: 1.89.1 (Universal)
- OS Version: 13.3 (22E252)
- Code Runner Version: Code Runner v0.12.2
Describe the bug Description of what the bug is. An error will be thrown when the initial line of the file is a Chinese comment in run code model.
To Reproduce Steps to reproduce the behavior:
- create a python (a.py)file and inputs some chinese commens using """ """ style
- click vscode run button
Actual behavior xxx line 2 SyntaxError: Non-ASCII character '\xe7' in file a.py
Expected behavior Description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.