Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59558
| From | random832@fastmail.us |
|---|---|
| References | <5286054F.6000707@chamonix.reportlab.co.uk> |
| Subject | Unicode stdin/stdout (was: Re: python 3.3 repr) |
| Date | 2013-11-15 13:16 -0500 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2682.1384539389.18130.python-list@python.org> (permalink) |
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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Unicode stdin/stdout (was: Re: python 3.3 repr) random832@fastmail.us - 2013-11-15 13:16 -0500
csiph-web