Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Seeking help with Extracting files from zip ( Win32::Unicode )

by Anonymous Monk
on Jan 14, 2015 at 23:36 UTC ( #1113284=note: print w/replies, xml ) Need Help??


in reply to Seeking help with Extracting files from zip

If you want any kind of unicode filenames on windows, you need Win32::Unicode
{ use Win32::Unicode qw/ -native /; open my($fh), '>:raw', $unicodename; ... }
  • Comment on Re: Seeking help with Extracting files from zip ( Win32::Unicode )
  • Download Code

Replies are listed 'Best First'.
Re^2: Seeking help with Extracting files from zip ( Archive::Zip unzipwin32unicode.pl )
by Anonymous Monk on Jan 15, 2015 at 01:47 UTC

    Seems to work for me , naturally it doesn't chmod/umask, not throughly tested, assumes utf8 (no easy flag I could see that signals utf8), and its a monkeypatch , unzipwin32unicode.pl

      How I created the test directory, later zipped with 7zip, makekebabs.pl, its meat
      kebabing the ћевап.txt
      kebabing the ražnjić.txt
      kebabing the ćevap.txt
      kebabing the кебапче.txt
      kebabing the kebab.txt
      

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1113284]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-10-31 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (286 votes). Check out past polls.

    Notices?