[New-bugs-announce] [issue10801] zipfile.ZipFile().extractall() header mismatch for non-ASCII characters

M. Z. report at bugs.python.org
Fri Dec 31 14:38:39 CET 2010


New submission from M. Z. <mzdkmail at gmail.com>:

Trying to unpack a ZIP file where some packet files contain danish letters results in:

    zipfile.BadZipFile: File name in directory 'filename_with_æoå.txt'
    and header b'filename_with_\x91o\x86.txt' differ.

Using Py 3.2b2 on Win7.

Unpack the attached ZIP file and run the Py script, which will show the problem using the enclosed two ZIP files.

----------
components: Library (Lib)
files: bug_zipfile_extractall.zip
messages: 124964
nosy: M..Z.
priority: normal
severity: normal
status: open
title: zipfile.ZipFile().extractall() header mismatch for non-ASCII characters
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file20204/bug_zipfile_extractall.zip

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


More information about the New-bugs-announce mailing list