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/129576.html below:

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

[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 10:53:42 CEST 2013
FYI zipfile does do UTF-8
(http://hg.python.org/cpython/file/d7ebe03fa752/Lib/zipfile.py#l368).
Only the non-Unicode encodings might need some help. I like that the
patch is only concerned with decoding. Is it necessary to support
writing non-UTF8 encodings?

On Tue, Oct 15, 2013 at 10:20 AM, Victor Stinner
<victor.stinner at gmail.com> 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.
>
> 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?
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/dholth%40gmail.com
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