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 Atle.Pedersen, ezio.melotti
Date 2012-01-05.20:23:11
SpamBayes Score 1.557719e-05
Marked as misclassified No
Message-id <1325794992.66.0.774129359074.issue13717@psf.upfronthosting.co.za>
In-reply-to
Content
On Python 3, os.walk() uses the surrogateescape error handler.  If the filename is in e.g. iso-8859-* and the filesystem encoding is UTF-8, decoding '\xe5' will then result in '\udce5', and '\udce5' can't then be printed because it's a lone surrogate.

See also http://docs.python.org/dev/library/os.html#file-names-command-line-arguments-and-environment-variables
History
Date User Action Args
2012-01-05 20:23:12ezio.melottisetrecipients: + ezio.melotti, Atle.Pedersen
2012-01-05 20:23:12ezio.melottisetmessageid: <1325794992.66.0.774129359074.issue13717@psf.upfronthosting.co.za>
2012-01-05 20:23:12ezio.melottilinkissue13717 messages
2012-01-05 20:23:11ezio.melotticreate