Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Non-ASCII filenames in zip

$
0
0

In my previous post, I wrote about using 'jar' on Linux to create 'zip' file.

'jar' better than 'zip' ? (INOUE Katsumi @ Tokyo)

I can do same with 'tar.gz' but when I want to send this to someone, *.zip is handier.

But there's a known problem. 'jar' will use 'UTF-8' encoding but standard 'zip' command on Windows cannot handle UTF-8 filename.
So, one needs to use p7zip or other zip utilities or 'jar'.

For the other way around, Solaris 11 and Ubuntu 'unzip' has new options to handle old encodings.
It's "-O" and "-I".

Bug #477755 “Please reinclude the patch for codepage-based zip f...” : Bugs : “unzip” package : Ubuntu

unzip package didn't support codepage-based filenames, and a patch from altlinux was included

I think the original patch was created on 2004!

#4871 – Невернаяработаскодировкаминазванийфайлов

# Set default encoding for filenames inside DOS/Windows Zip archives

 

 


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>