Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59558 > unrolled thread

Unicode stdin/stdout (was: Re: python 3.3 repr)

Started byrandom832@fastmail.us
First post2013-11-15 13:16 -0500
Last post2013-11-15 13:16 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Unicode stdin/stdout (was: Re: python 3.3 repr) random832@fastmail.us - 2013-11-15 13:16 -0500

#59558 — Unicode stdin/stdout (was: Re: python 3.3 repr)

Fromrandom832@fastmail.us
Date2013-11-15 13:16 -0500
SubjectUnicode stdin/stdout (was: Re: python 3.3 repr)
Message-ID<mailman.2682.1384539389.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web