Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA76E9E2A for ; Wed, 14 Dec 2011 14:54:00 +0000 (UTC) Received: (qmail 13900 invoked by uid 500); 14 Dec 2011 14:54:00 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 13845 invoked by uid 500); 14 Dec 2011 14:54:00 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 13837 invoked by uid 99); 14 Dec 2011 14:54:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 14:54:00 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 14:53:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8EEA011291D for ; Wed, 14 Dec 2011 14:53:30 +0000 (UTC) Date: Wed, 14 Dec 2011 14:53:30 +0000 (UTC) From: "Stefan Bodewig (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <740978414.11164.1323874410586.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <747693868.889.1323683310673.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COMPRESS-168) getName of ZipArchiveEntry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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