Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: in Lib/zipfile.py, the filename is already allowed to be unicode if the "flag_bits" for the file entry contains 0x800. This indicates that the encoding is utf-8.
We could do the same for the password. Attached is a tentative patch along this idea (for py3k replace 'unicode' with 'str' of course) ---------- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file12712/zipfile-pwd.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4871> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com