Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 65013 invoked from network); 15 Dec 2004 08:29:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Dec 2004 08:29:42 -0000 Received: (qmail 17746 invoked by uid 500); 15 Dec 2004 08:28:23 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 17708 invoked by uid 500); 15 Dec 2004 08:28:23 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 17615 invoked by uid 99); 15 Dec 2004 08:28:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO magicphone.com) (194.78.45.201) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 00:28:18 -0800 Received: from [192.168.3.75] (HELO ringring01.ringring.be) by magicphone.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 659445 for tomcat-user@jakarta.apache.org; Wed, 15 Dec 2004 09:28:14 +0100 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: char encoding bug in tomcat 5.0.25 ? Date: Wed, 15 Dec 2004 09:28:14 +0100 Message-ID: <13E181650190624B97840BABCAAB12A27FF40A@ringring01.ringring.be> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: char encoding bug in tomcat 5.0.25 ? Thread-Index: AcTigAT5AZFXRzwtSvaCZhwOoihCaQ== From: "Quinten Verheyen" To: "Tomcat Users List (E-mail)" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, *maybe* I'm experiencing a bug in Tomcat 5.0.25, but this is pure = assumption, please help me with this troublesome character encoding = problem. The test page below gets a request parameter and shows it in a textarea. = The goal is to test if special characters are translated wrongly .. = (would actually occur if encoding/decoding set isn't the same). The = problem is in Tomcat 5.0.25 the character '=E9' is translated into = =C3=A9, in Tomcat 4.1.29 it stays the same. Note: when providing the paramter as a get, it works. =3D=3D=3D=3D=3D=3D=3D=3D test.jsp =3D=3D=3D=3D=3D=3D=3D=3D <%@ page pageEncoding=3D"utf-8" language=3D"java" %> <% request.setCharacterEncoding("utf-8"); String text =3D request.getParameter("text"); if (text =3D=3D null) { text =3D ""; } %> test page
Thx in advance, Quinten --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org