◐ Shell
clean mode source ↗

Message 215693 - Python tracker

Hi, when you say "The console" is the the old MS-DOS command ("Windows console") opened when you run the "cmd.exe" program? Or IDLE or another console?

For the Windows console, see the old issue #1602 which is not fixed yet.

On Windows, sys.stdout.encoding is your OEM code page, which is usually different than the ANSI code page (locale.getpreferredencoding()).