You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using vscode-code-runner on MACOS with python2.7
if I print some Chinese Char to output window. it will meet this error:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128)
I have tried to submit an issue for VSCode, however VSCode author thinks it's code-runner plugin issue.
because code-runner runs python with not UTF-8 but ascii.
if I run the python in Terminal, everything goes well.
The text was updated successfully, but these errors were encountered:
@formulahendry ,hi , thanks, yes ,the solution in #25 works. before I submit this issue, I already use that method as a workaround, but I hope it can be fixed by root cause. otherwise every user must spend a lot of time to find this solution. and you also should spend a lot of time to explain it one by one.
I'm using vscode-code-runner on MACOS with python2.7
if I print some Chinese Char to output window. it will meet this error:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128)
I have tried to submit an issue for VSCode, however VSCode author thinks it's code-runner plugin issue.
because code-runner runs python with not UTF-8 but ascii.
if I run the python in Terminal, everything goes well.
The text was updated successfully, but these errors were encountered: