Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 48525 invoked from network); 10 Aug 2004 14:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Aug 2004 14:45:17 -0000 Received: (qmail 88574 invoked by uid 500); 10 Aug 2004 14:44:43 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 88459 invoked by uid 500); 10 Aug 2004 14:44:42 -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 88440 invoked by uid 99); 10 Aug 2004 14:44:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MANY_EXCLAMATIONS X-Spam-Check-By: apache.org Received: from [200.175.95.242] (HELO localhost.localdomain) (200.175.95.242) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 10 Aug 2004 07:44:42 -0700 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i7AEiY0T002076 for ; Tue, 10 Aug 2004 11:44:35 -0300 Subject: RE: [FileUpload] character encoding problem (URGENT! PLZ HELP!) From: Edson Carlos Ericksson Richter To: Jakarta Commons Users List In-Reply-To: <3D9B8CAEBE2B6946B9036BF6B376E80437BD2E@copernic.montpellier.intra.mgn> References: <3D9B8CAEBE2B6946B9036BF6B376E80437BD2E@copernic.montpellier.intra.mgn> Content-Type: text/plain; charset=iso-8859-1 Organization: MGR Informática Ltda Message-Id: <1092149072.1973.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 10 Aug 2004 11:44:34 -0300 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In my JSP i put: "/> ... and in the form:
I removed the <@page encoding...> because I don't know the encoding adopted by ${encoding} variable. Then, in the servlet I call, I used: Properties p = System.getProperties(); fu.setHeaderEncoding(p.getProperty("file.encoding", "ISO-8859-1")); that's only way worked fine for me. Best regards, Richter Em Ter, 2004-08-10 �s 11:26, J�r�mie LOPEZ escreveu: > > I have solved the problem seting the same character set as page encoding, > form encoding and then setting setHeaderEncoding. > > Could you give me more details? (ok for the setHeaderEncoding, but what do > you mean exactly with the page encoding and form encoding?) > > Btw, I installed Oleg's patch but it didn't solve my problem (guess it deals > with another similar problem...). --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org