Unicode stdin/stdout (was: Re: python 3.3 repr)
random832 at fastmail.us
random832 at fastmail.us
Fri Nov 15 13:16:25 EST 2013
Of course, the real solution to this issue is to replace sys.stdout on
windows with an object that can handle Unicode directly with the
WriteConsoleW function - the problem there is that it will break code
that expects to be able to use sys.stdout.buffer for binary I/O. I also
wasn't able to get the analogous stdin replacement class to work with
input() in my attempts.
More information about the Python-list
mailing list