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 vstinner
Recipients jaraco, lars.gustaebel, python-dev, vstinner
Date 2011-12-21.19:07:22
SpamBayes Score 0.057301383
Marked as misclassified No
Message-id <1324494443.29.0.942749989949.issue13639@psf.upfronthosting.co.za>
In-reply-to
Content
+ self.name = self.name.encode("iso-8859-1", "replace")

Why did you chose ISO-8859-1? I think that the filesystem encoding should be used instead:

-            self.name = self.name.encode("iso-8859-1", "replace")
+            self.name = self.name.encode(ENCODING, "replace")
History
Date User Action Args
2011-12-21 19:07:23vstinnersetrecipients: + vstinner, jaraco, lars.gustaebel, python-dev
2011-12-21 19:07:23vstinnersetmessageid: <1324494443.29.0.942749989949.issue13639@psf.upfronthosting.co.za>
2011-12-21 19:07:22vstinnerlinkissue13639 messages
2011-12-21 19:07:22vstinnercreate