MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-2.448 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham |
X-Spam-Flag: | NO |
Content-Type: | multipart/alternative; boundary="94eb2c032196f01e4005338c2e50" |
Message-ID: | <CAFEaspV_LGV4Zi5O58Bf=-LodsegyvgaHxVO7D=2UrQEsYHnOg [...] mail.gmail.com> |
X-Received: | by 10.157.38.8 with SMTP id a8mr1172084otb.152.1464052059476; Mon, 23 May 2016 18:07:39 -0700 (PDT) |
X-Virus-Scanned: | Debian amavisd-new at bestpractical.com |
X-Spam-Score: | -2.448 |
Received: | from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 77327240085 for <cpan-bug+Archive-Zip [...] hipster.bestpractical.com>; Mon, 23 May 2016 21:07:53 -0400 (EDT) |
Received: | from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XeCIT2fjpqSR for <cpan-bug+Archive-Zip [...] hipster.bestpractical.com>; Mon, 23 May 2016 21:07:52 -0400 (EDT) |
Received: | from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D86DE240030 for <bug-Archive-Zip [...] rt.cpan.org>; Mon, 23 May 2016 21:07:51 -0400 (EDT) |
Received: | (qmail 31627 invoked by alias); 24 May 2016 01:07:51 -0000 |
Received: | from mail-oi0-f51.google.com (HELO mail-oi0-f51.google.com) (209.85.218.51) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 23 May 2016 18:07:43 -0700 |
Received: | by mail-oi0-f51.google.com with SMTP id j1so3284678oih.3 for <bug-Archive-Zip [...] rt.cpan.org>; Mon, 23 May 2016 18:07:43 -0700 (PDT) |
Received: | by 10.182.165.42 with HTTP; Mon, 23 May 2016 18:07:39 -0700 (PDT) |
Authentication-Results: | hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com |
Delivered-To: | cpan-bug+Archive-Zip [...] hipster.bestpractical.com |
Subject: | Archive::Zip changing name of file |
Return-Path: | <randomaccess3 [...] gmail.com> |
X-RT-Mail-Extension: | archive-zip |
X-Original-To: | cpan-bug+Archive-Zip [...] hipster.bestpractical.com |
X-Spam-Check-BY: | la.mx.develooper.com |
Dkim-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=UDO671S45JYz8ajMci3GTbseS2rkZT56Cuq3ldykfK0=; b=CBczhoTTK9M7pvT29mcGfmPLyREHbmf88i0LnfeHvZ/37pTW3YDKJIDSBAPEDbwYoq UMESMT89Awa8DDuI0M8ncNqzcAbsfN8Ii1BFgPhl7LYRoN1V7iZQh+MggkTPMl/W6msX k200phaY6P6xEZTKwwNV0nznh6iJ/EZRMnUcUkotzCacG7tGXowdCDJd/SnVsfKKTcYT LlNbFl2OYt9MBRYOryCugOiW64WA4kbHxNgWBFiiCCgPK4UZzWUKLDKdQqfObSJhhlUU yaHC2IoODfe/1KScO1dvmjMWfvLVzcEknJ2mtOEcYkC8+KwPofPR3oAr0iZxMgAlijPj 5Kng== |
X-Google-Dkim-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=UDO671S45JYz8ajMci3GTbseS2rkZT56Cuq3ldykfK0=; b=Op8sroFC8qkDyUcCdIgxpsnlaa1f1BV2Vl2ulaajTMfiz2xihXHxNPj9cW6/frNvrO Cw/lycQPImJqhfwbqpQyP07NxWdaITlOqJBCAPZBWrNWxSE1xFcBnPu0VnFJZd4ksmsH 65hfqow5YPXezIoHQkwXtsWZszpiznSzk0zzTFE+AR26kWfVljj7i8PXiWiTqaR4bx9Y hFww1DyoBXWTwyfIKcbk6g1KWjETbrU5lWmmCmKm76y5WhFjZjlOTWnssOSg7ficCfcq fMLCdPSyjr2lVPEutjmD09aBr5NLLEnHfaiL243L5I0dmiXw+xg1dCD+8oFYtIDZHUMh ZOWQ== |
Date: | Tue, 24 May 2016 11:07:39 +1000 |
X-Spam-Level: | |
To: | bug-Archive-Zip [...] rt.cpan.org |
From: | random access <randomaccess3 [...] gmail.com> |
X-GM-Message-State: | ALyK8tKdb0iyS/Y0vUzgEpEKn90ooWst8Ewo5L6eEeRrgXu+kGSDjkPaFeqS+BbBsRO3ILXIFCiPJ8VvDkpTtw== |
X-RT-Interface: | |
Content-Length: | 0 |
content-type: | text/plain; charset="utf-8" |
Content-Transfer-Encoding: | quoted-printable |
X-RT-Original-Encoding: | utf-8 |
Content-Length: | 609 |
Hi,
I have a zip file that I'm trying to decompress; there's a file inside it
that has a strange filename and instead of "ímynd.dd" it's changing the
name to "Ãmynd.dd"
this is my code:
use Archive::Zip qw( :ERROR_CODES );
my $testsArchive = "master.zip";
my $testsDirectory = "master/";
my $zip = Archive::Zip->new();
die 'read error' unless ( $zip->read( $testsArchive ) == AZ_OK );
$zip->extractTree( '', $testsDirectory );
You can download the zip file from here:
https://github.com/log2timeline/dfvfs/archive/master.zip
I'm using version 1.57 of the library, on win7, perl 5.22.1
Cheers
Phillip
content-type: | text/html; charset="utf-8" |
Content-Transfer-Encoding: | quoted-printable |
X-RT-Original-Encoding: | utf-8 |
Content-Length: | 997 |