randomaccess3 has asked for the wisdom of the Perl Monks concerning the following question:
I'm using version 1.57 of the zip library, on win7, perl 5.22.1. If I run the same code on OS X it works file, so it has something to do with the charset encoding on Windows, but I'm at a loss how to fix it. The suggestion was to use "$Archive::Zip::UNICODE", however I haven't had any success with that. I've tried changing the codepage using a system call, but that didn't work either. Thanks in advance!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 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with ZIP Encodings on MSWin
by hippo (Archbishop) on Jun 16, 2016 at 10:05 UTC | |
by Lotus1 (Vicar) on Jun 16, 2016 at 13:32 UTC | |
by randomaccess3 (Initiate) on Jun 17, 2016 at 03:46 UTC | |
|
Re: Help with ZIP Encodings
by Anonymous Monk on Jun 16, 2016 at 09:44 UTC | |
by randomaccess3 (Initiate) on Jun 17, 2016 at 07:05 UTC | |
|
Re: Help with ZIP Encodings
by Anonymous Monk on Jun 16, 2016 at 15:04 UTC | |
by randomaccess3 (Initiate) on Jun 17, 2016 at 03:48 UTC |