in reply to Archive::Zip and german charset

I had the same problem opening folders with spaces in the name through the prompt, like a folder named My Documents, so I replaced the problem character with a wildcard, and it opened the folder perfectly fine with My*Documents :). I don't know if it will work, but I hope my reply has been some help :).

Replies are listed 'Best First'.
Re: Re: Archive::Zip and german charset
by fraktalisman (Hermit) on Feb 18, 2004 at 17:50 UTC
    This is some foolishness of Windows XP explorer.
    a) My colleague zipped a file on his desktop with folder information. Opening on Windows 2000 with Power Archiver was no problem. Opening with explorer where XP displays archives like folders, clicking on "Dokumente und Einstellungen" (documents blah dunno what it's called in english) would make the explorer crash.
    b) Same when zipping straße.txt to straße.zip : XP explorer displays the filename inside the archive corrupted!
    Conclusions?
    1. Using a proper unzipping programm should get rid of those problems. There are freeware one that can be installed without administrator rights.
    2. Maybe someone should report the problem to Microsoft and then we all wait for the next Windows update ...
Re: Re: Archive::Zip and german charset
by Anonymous Monk on Feb 19, 2004 at 21:18 UTC
    It might work from the prompt but I could not open a file
    $file="stra.e\.txt"; $member = $zip->addFile("$file");
    Also using File::Find did not work out
    find(\&wanted, "c:/test"); sub wanted { $file=$File::Find::name; if (/stra.e\.txt/){ $file=$_; } }