Subject: | Archive::Zip changing name of file |
Date: | Tue, 24 May 2016 11:07:39 +1000 |
To: | bug-Archive-Zip [...] rt.cpan.org |
From: | random access <randomaccess3 [...] gmail.com> |
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