STINNER Victor added the comment:
> In addition, the printed strings are Simplified Chinese, my system's language
> is it as well. Maybe it's a factor?
Ooooooh yes. The Windows Console sucks to display Unicode: see the very old
issue #1602 which is not fixed yet and is 9 years old...
Try to replace your chinese message with a simple ASCII text like print("test")
to check if it works around your issue.
Maybe IDLE and/or PowerShell have a better Unicode support, I don't know for
Chinese.
Sorry, I know better Linux, I know that Linux handles well Unicode in terminals.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com