[issue12048] Python 3, ZipFile Bug In Chinese

Amaury Forgeot d'Arc report at bugs.python.org
Thu May 12 16:48:16 CEST 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

But according to the initial report, 3.2 does not give the expected behavior. This zip file actually stores the filename encoded with cp932, which is incorrect according to the specifications of the ZIP format (only cp437 and utf8 are valid)

See issue10614 for a possible solution: allow users to specify an alternate encoding to handle such invalid files.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12048>
_______________________________________


More information about the Python-bugs-list mailing list