[issue1602] windows console doesn't print utf8 (Py30a2)

Glenn Linderman report at bugs.python.org
Mon Jan 10 03:27:31 CET 2011


Glenn Linderman <v+python at g.nevcal.com> added the comment:

I would certainly be delighted if someone would reopen this issue, and figure out how to translate unicode2.py to Python internals so that Python's console I/O on Windows would support Unicode "out of the box".

Otherwise, I'll have to include the equivalent of unicode2.py in all my Python programs, because right now, I'm including instructions for the use to (1) choose Lucida or Consolas font if they can't figure out any other font that gets rid of the square boxes (2) chcp 65001 (3) set PYTHONIOENCODING=UTF-8

Having this capability inside Python (or my programs) will enable me to eliminate two-thirds of the geeky instructions for my users.  But it seems like a very appropriate capability to have within Python, especially Python 3.x with its preference and support Unicode in so many other ways.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1602>
_______________________________________


More information about the Python-bugs-list mailing list