Osamu Sayama's Weblog
unzip for non-ascii file name
Current unzip command in OpenSolaris cannot handle a non-ascii file name used in Windows world. If such a file is included in zip file, created file itself is garbled. This is inconvenient because localized file name is often used in Localized Windows. When searching the information from the web, I found that Ubuntu has already the patch for this problem (here). I tried to make build SUNWunzip with this patch in sfw workspace. A file encoding created by Windows zip can be specified by -O option (Also a file encoding created by Unix zip seems to be specified by -I option). For example, zip file created by Japanese windows can convert by -O cp932 (or PCK, SJIS) option like the following.

I filed this as 6719511 but not fixed yet. So I attached the pacakge I made build (here). Please use it until this CR is integrated.
Posted at 10:51午後 7 24, 2008 by sayama in English | 投稿されたコメント[0]