[New-bugs-announce] [issue1602] windows console doesn't print utf8 (Py30a2)
report at bugs.python.org
Wed Dec 12 10:56:30 CET 2007
New submission from Mark Summerfield:
I am not sure if this is a Python bug or simply a limitation of cmd.exe.
I am using Windows XP Home.
I run cmd.exe with the /u option and I have set my console font to
"Lucida Console" (the only TrueType font offered), and I run chcp 65001
to set the utf8 code page.
When I run the following program:
for x in range(32, 2000):
one blank line is output.
But if I do chcp 1252 the program prints up to 7F before hitting a
unicode encoding error.
This is different behaviour from Python 2.5.1 which (with a suitably
modified print line) after chcp 65001 prints up to 7F and then fails
with "IOError: [Errno 0] Error".
components: Unicode, Windows
title: windows console doesn't print utf8 (Py30a2)
versions: Python 3.0
Tracker <report at bugs.python.org>
More information about the New-bugs-announce