Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59879 > unrolled thread
| Started by | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| First post | 2013-11-18 16:25 +0100 |
| Last post | 2013-11-18 16:25 +0100 |
| 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.
Re: [Python-ideas] Unicode stdin/stdout Victor Stinner <victor.stinner@gmail.com> - 2013-11-18 16:25 +0100
| From | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| Date | 2013-11-18 16:25 +0100 |
| Subject | Re: [Python-ideas] Unicode stdin/stdout |
| Message-ID | <mailman.2850.1384788355.18130.python-list@python.org> |
Why do you need to force the UTF-8 encoding? Your locale is not correctly configured? It's better to set PYTHONIOENCODING rather than replacing sys.stdout/stderr at runtime. There is an open issue to add a TextIOWrapper.set_encoding() method: http://bugs.python.org/issue15216 Victor
Back to top | Article view | comp.lang.python
csiph-web