0
Is it possible to change character encoding in the playground? According to a test I ran, the interpreter can only handle ascii.
Character encoding in the Python interpreter. Can it be changed from ascii to utf-8? I ran this code to see what it could handle: https://code.sololearn.com/c90Eo6XugeEa/?ref=app
2 Respostas
+ 1
It seems that utf-8 is not supported here:
https://www.sololearn.com/Discuss/94437/printing-unicode
https://www.sololearn.com/Discuss/687123/unicodeencodeerror
I tried to output unicode in c++ here but failed too. You get ASCII codes if you output chr type of a number; it replies an error if you try hex base number like U+0058.
+ 1
Agreed, I tried the same things in Python.