[issue23901] Force console stdout to use UTF8 on Windows

Paul Moore report at bugs.python.org
Mon Apr 13 20:17:49 CEST 2015


Paul Moore added the comment:

My proof-of-concept attempt to use _O_U8TEXT resulted in some very bizarre behaviour - odd buffering of the interactive interpreter output and what appear to be Chinese characters being displayed for normal (ASCII) interactions.

I suspect there is some oddity around how _O_U8TEXT works. The approach looks too fragile to pursue. I'll look further into the RawIOBase option.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23901>
_______________________________________


More information about the Python-bugs-list mailing list