in reply to How to fix wrongly encoded filenames?
If that's possible, then maybe you want to just delete the first attempt from the windows server and try again using Archive::Zip (instead of 7zip, whatever that is); you can iterate through the tar file, decode the non-ASCII names into perl-internal utf8 (and re-encode for windows if necessary); then create directories and files on the server filesystem as needed to unpack the tar contents.
Who knows, maybe you'll want to decode/recode the file contents while you're at it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to fix wrongly encoded filenames?
by Anonymous Monk on Mar 18, 2014 at 06:17 UTC |