Eryk Sun added the comment:
This a third-party problem due to bugs in the console's support for codepage
65001. For the general problem of Unicode in the console, see issue 1602. The
best way to resolve this problem is by using the wide-character APIs,
WriteConsoleW and ReadConsoleW. I suggest
STINNER Victor added the comment:
I guess that it's yet another example of the bug #1602: "windows console
doesn't print or input Unicode".
Don't use the Windows console, but use a better console which has a better
Unicode support. For example, you can play with IDLE :-) (Maybe PowerShell or
New submission from Egor Tensin:
I've come across an issue of Python 3.5.1 appending an extra newline when
print()ing non-ASCII strings on Windows.
This only happens when the active "code page" is set UTF-8 in cmd.exe:
>chcp
Active code page: 65001
Now, if I try to print an ASCII char