This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti, shura_zam
Date 2009-09-01.07:55:17
SpamBayes Score 0.00021293254
Marked as misclassified No
Message-id <1251791720.61.0.543044433103.issue6815@psf.upfronthosting.co.za>
In-reply-to
Content
If you don't specify the encoding, unicode() will decode 'var' using the
default ascii codec and it will fail if 'var' contains non-ascii
characters. You should use var.decode(encoding) instead.

The fact that the first print is not displayed correctly is probably due
to the limitation of the Windows terminal.
History
Date User Action Args
2009-09-01 07:55:20ezio.melottisetrecipients: + ezio.melotti, shura_zam
2009-09-01 07:55:20ezio.melottisetmessageid: <1251791720.61.0.543044433103.issue6815@psf.upfronthosting.co.za>
2009-09-01 07:55:17ezio.melottilinkissue6815 messages
2009-09-01 07:55:17ezio.melotticreate