Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 71832 invoked from network); 6 Aug 2004 14:16:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Aug 2004 14:16:22 -0000 Received: (qmail 29168 invoked by uid 500); 6 Aug 2004 14:15:53 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 29068 invoked by uid 500); 6 Aug 2004 14:15:52 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 29040 invoked by uid 99); 6 Aug 2004 14:15:51 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_40_50,HTML_MESSAGE,MANY_EXCLAMATIONS X-Spam-Check-By: apache.org Received: from [195.46.195.160] (HELO rosella.mgn.net) (195.46.195.160) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 06 Aug 2004 07:15:48 -0700 Received: from copernic.montpellier.intra.mgn (localhost [127.0.0.1]) by rosella.mgn.net (MGN SMTP pour MGN) with ESMTP id i76EFaFi026346 for ; Fri, 6 Aug 2004 16:15:39 +0200 (MEST) Received: by copernic.montpellier.intra.mgn with Internet Mail Service (5.5.2653.19) id ; Fri, 6 Aug 2004 16:15:35 +0200 Message-ID: <3D9B8CAEBE2B6946B9036BF6B376E80437BD10@copernic.montpellier.intra.mgn> From: =?iso-8859-1?Q?J=E9r=E9mie_LOPEZ?= To: Jakarta Commons Users List Subject: RE: [FileUpload] character encoding problem (URGENT! PLZ HELP!) Date: Fri, 6 Aug 2004 16:15:35 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C47BBF.D70F4A50" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C47BBF.D70F4A50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks for answering... Well, I tried it (with "iso-8859-1", not "UTF-8", but it should give = the same results for my problem I suppose), and it didn't work. Btw, from the javadoc, it just sets the encoding for the header of the request parts, not the content... -----Message d'origine----- De : Jason Lea [mailto:jason@kumachan.net.nz]=20 Envoy=E9 : vendredi 6 ao=FBt 2004 16:09 =C0 : Jakarta Commons Users List Objet : Re: [FileUpload] character encoding problem (URGENT! PLZ HELP!) I would assume you do something like this: DiskFileUpload upload =3D new DiskFileUpload(); upload.setHeaderEncoding("UTF-8"); (I haven't tried it myself.) J=E9r=E9mie LOPEZ wrote: >Hi all, >=20 >I'm using the Commons FileUpload in a webapp hosted on a unix server. >When a windows client uploads a text file with accented characters,=20 >they're replaced by '?' or '=FD'... >I suppose I must specify some character encoding or that sort of = thing,=20 >but where and what exactly? >=20 >TIA >=20 >JimmyL. > > =20 > -- Jason Lea --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org ------_=_NextPart_001_01C47BBF.D70F4A50--