A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-October/129581.html below:

[Python-Dev] non-US zip archives support in zipfile.py

[Python-Dev] non-US zip archives support in zipfile.pyDaniel Holth dholth at gmail.com
Tue Oct 15 14:49:11 CEST 2013
On Tue, Oct 15, 2013 at 8:02 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> 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.

It is part of the ZIP specification. CP437 or UTF-8 are the two
official choices, but other encodings happen on Russian, Japanese
systems.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4