Message78104
In the ZIP file format, a filename is a byte string because we don't
know the encoding. You can not guess the encoding because it's not
stored in the ZIP file and it depends on the OS and the OS
configuration. So t1.filename have to be a byte string and
testzip.read() have to use bytes and not str. |
|
Date |
User |
Action |
Args |
2008-12-20 14:03:04 | vstinner | set | recipients:
+ vstinner, francescor, skreft |
2008-12-20 14:03:04 | vstinner | set | messageid: <1229781784.06.0.683867166987.issue4621@psf.upfronthosting.co.za> |
2008-12-20 14:03:03 | vstinner | link | issue4621 messages |
2008-12-20 14:03:03 | vstinner | create | |
|