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 francescor, skreft, vstinner
Date 2008-12-20.14:06:33
SpamBayes Score 0.004251649
Marked as misclassified No
Message-id <1229781994.9.0.852933379235.issue4621@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, I see that zipfile.py uses the following code to choose the 
filename encoding:
            if flags & 0x800:
                # UTF-8 file names extension
                filename = filename.decode('utf-8')
            else:
                # Historical ZIP filename encoding
                filename = filename.decode('cp437')

So I'm maybe wrong: the encoding is known using a flag?
History
Date User Action Args
2008-12-20 14:06:34vstinnersetrecipients: + vstinner, francescor, skreft
2008-12-20 14:06:34vstinnersetmessageid: <1229781994.9.0.852933379235.issue4621@psf.upfronthosting.co.za>
2008-12-20 14:06:34vstinnerlinkissue4621 messages
2008-12-20 14:06:33vstinnercreate