[
https://issues.apache.org/jira/browse/COMPRESS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169412#comment-13169412
]
Stefan Bodewig commented on COMPRESS-168:
-----------------------------------------
Windows compressed folders facility seems to use the platform's native encoding
when creating ZIPs.
See <http://commons.apache.org/compress/zip.html#encoding>
Do you get correct file names if you use something like
new ZipFile(zipname, ENCODING)
where ENCODING is whatever Java calls you platform's native encoding. I don't
have any idea what that
would be and wouldn't recognize correct arabic characters either so I didn't
try it myself on your
test archive. One list I know of is
http://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html and
ISO8859_6 or Cp1256 don't sound bad (but you probably know better than me).
> getName of ZipArchiveEntry
> --------------------------
>
> Key: COMPRESS-168
> URL: https://issues.apache.org/jira/browse/COMPRESS-168
> Project: Commons Compress
> Issue Type: Test
> Components: Archivers
> Affects Versions: 1.2
> Environment: J2EE Environment with jdk 1.4
> Reporter: Pavithra Kumar
> Attachments: TestZip.zip
>
>
> getName method of ZipArchiveEntry is not giving arabic file names. Instead of
> that it gives some chunked characters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira