[issue14253] print() encodes characters to native system encoding

Martin v. Löwis report at bugs.python.org
Sun Mar 11 19:18:17 CET 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

Robert: this is not a bug. Python's IO stack has the fundamental assumption that streams are byte-oriented. So the "shouldn't be the output in Unicode" is not a possible solution, since Unicode cannot work on a byte stream.

As a feature request, this is indeed a duplicate of 1602.

----------
nosy: +loewis
resolution:  -> duplicate
status: open -> closed
superseder:  -> windows console doesn't print or input Unicode
versions: +Python 3.3 -Python 3.2

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


More information about the Python-bugs-list mailing list