Message78105
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? |
|
Date |
User |
Action |
Args |
2008-12-20 14:06:34 | vstinner | set | recipients:
+ vstinner, francescor, skreft |
2008-12-20 14:06:34 | vstinner | set | messageid: <1229781994.9.0.852933379235.issue4621@psf.upfronthosting.co.za> |
2008-12-20 14:06:34 | vstinner | link | issue4621 messages |
2008-12-20 14:06:33 | vstinner | create | |
|