Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Bogus Japanese zipfiles [was: Kudos to Jim Breen]



On 2018-06-26 12:10 +0200 (Tue), Kalin KOZHUHAROV wrote:

> On Tue, Jun 26, 2018 at 5:05 AM, Stephen J. Turnbull
> <turnbull.stephen.fw@example.com> wrote:
>
> > I forget the exact syntax, but something like
> > python -m zipfile --extract --filenameencoding=shift_jis bogus.zip
>
> I think patching upstream (zip, p7zip) is still better, but haven't
> had urge to do it.

zip and p7zip are not actually upstream of the Python standard library
Zip code, IIRC; it's a completely standalone, separate implementation.

cjs
-- 
Curt J. Sampson      <cjs@example.com>      +81 90 7737 2974

To iterate is human, to recurse divine.
    - L Peter Deutsch


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links