Need debugging knowhow for my creeping Unicodephobia

John Nagle nagle at
Sat Feb 13 06:16:51 CET 2010

kj wrote:

>>> =A0 x =3D '%s' % y
>>> =A0 x =3D '%s' % z
>>> =A0 print y
>>> =A0 print z
>>> =A0 print y, z

     Bear in mind that most Python implementations assume the "console"
only handles ASCII.  So "print" output is converted to ASCII, which
can fail. (Actually, all modern Windows and Linux systems support
Unicode consoles, but Python somehow doesn't get this.)

				John Nagle

More information about the Python-list mailing list