[issue1602] windows console doesn't print utf8 (Py30a2)
Amaury Forgeot d'Arc
report at bugs.python.org
Mon Jan 10 12:50:07 CET 2011
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
The script unicode2.py uses the console STD_OUTPUT_HANDLE iff sys.stdout.fileno()==1.
But is it always the case? What about pythonw.exe?
Also some applications may redirect fd=1: I'm sure that py.test does this http://pytest.org/capture.html#setting-capturing-methods-or-disabling-capturing and IIRC Apache also redirects file descriptors.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1602>
_______________________________________
More information about the Python-bugs-list
mailing list