STINNER Victor <[email protected]> added the comment:
+ 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")
----------
nosy: +haypo
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13639>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com