commit | d36c8217e130bac34ea8c95c8351c47e24c401e2 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 18 12:13:46 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 18 12:13:46 2010 +0000 |
tree | 7b58cbc51355c41443666ab95ca0aa53329d8d83 | |
parent | b08820ad406b9fd291a8707e4bad41cc8486ab08 [diff] |
zipimport: read_directory() uses cp437 or utf-8 (in strict mode), depending on the unicode flag, to decode the filename, instead of the filesystem encoding. Use the same choice than the zipfile module.