[Python-Dev] non-US zip archives support in zipfile.py (original) (raw)
Victor Stinner victor.stinner at gmail.com
Tue Oct 15 10:20:03 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 ]
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.
Victor
2013/10/15 Alexander Belopolsky <alexander.belopolsky at gmail.com>:
On Mon, Oct 14, 2013 at 6:13 PM, Victor Stinner <victor.stinner at gmail.com> wrote:
I opened an issue proposing exactly the same change, but I didn't provide a patch. I found this: http://bugs.python.org/issue10614 but it has (seemingly incorrect) patch. Also related: http://bugs.python.org/issue10972 Victor - is any of these what you had in mind?
- 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 ]