Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 30675 invoked from network); 27 Feb 2006 16:52:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 16:52:27 -0000 Received: (qmail 62207 invoked by uid 500); 27 Feb 2006 16:52:21 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 62077 invoked by uid 500); 27 Feb 2006 16:52:20 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 62063 invoked by uid 99); 27 Feb 2006 16:52:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 08:52:20 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.20.116.97] (HELO s375.deinprovider.de) (217.20.116.97) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 08:52:19 -0800 Received: from [192.168.0.47] (dialin-212-144-147-248.pools.arcor-ip.net [212.144.147.248]) by s375.deinprovider.de (Postfix) with ESMTP id 46378104C090 for ; Mon, 27 Feb 2006 17:59:10 +0100 (CET) Message-ID: <44032E55.6030704@possessed.de> Date: Mon, 27 Feb 2006 17:52:37 +0100 From: "C. Grobmeier" User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: commons-compress References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Antoine, > I have filenames with special characters (French accents) to compress > (base zip format), I set the encoding as UTF-8 but my filenames are > getting wrong in the archive. i just checked the code and it looks like the setEncoding/getEndcoding methods are just used to get the correct filenames from the harddisk. It's not implemented for naming the files within the zip-file. I think its a good thing to have a new issue about this in bugzilla. If you don't open it, i will do later. At the moment i am afraid i have no solution for this. Regards, Chris > Here is how I init my stream > zos = new ZipOutputStream(new FileOutputStream(file)); > zos.setEncoding("utf-8"); > zos.setMethod(zos.DEFLATED); > zos.setLevel(5); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFEAy5Vkv8rKBUE/T4RAlYhAJUalE2gBb2J9kkOtr9kyaInCN5FAKCEwgq0 13l3BQxcDHsj/Pe+DR36aw== =WGQL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org