[Python-Dev] non-US zip archives support in zipfile.py (original) (raw)
Steven D'Aprano steve at pearwood.info
Tue Oct 15 14:02:10 CEST 2013
- Previous message: [Python-Dev] non-US zip archives support in zipfile.py
- Next message: [Python-Dev] non-US zip archives support in zipfile.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 15, 2013 at 10:20:03AM +0200, Victor Stinner wrote:
Both issues are related and should be fixed in the same commit. Python should provide an option to encode explicitly filenames to UTF-8. Or maybe better: encode to UTF-8 by default, with an option to encode to cp437, and another to encode to an arbitrary encoding.
Why single out cp437 for special treatment? Surely it's enough to use UTF-8 by default, or specify an arbitrary encoding.
-- Steven
- Previous message: [Python-Dev] non-US zip archives support in zipfile.py
- Next message: [Python-Dev] non-US zip archives support in zipfile.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]