Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 38380 invoked from network); 16 Aug 2007 11:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Aug 2007 11:32:22 -0000 Received: (qmail 58299 invoked by uid 500); 16 Aug 2007 11:32:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58280 invoked by uid 500); 16 Aug 2007 11:32:03 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 58263 invoked by uid 99); 16 Aug 2007 11:32:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 04:32:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [204.127.225.94] (HELO alnrmhc14.comcast.net) (204.127.225.94) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 11:32:19 +0000 Received: from [192.168.0.100] (c-68-33-79-168.hsd1.md.comcast.net[68.33.79.168]) by comcast.net (alnrmhc14) with ESMTP id <20070816113138b1400pgfs3e>; Thu, 16 Aug 2007 11:31:38 +0000 Message-ID: <46C4359A.8010606@apache.org> Date: Thu, 16 Aug 2007 07:31:38 -0400 From: Mark Thomas User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: utf-8 encoding problem References: <46C263DC.6040603@selectacast.net> <46C3B051.1050700@apache.org> <46C3D7F6.8090508@selectacast.net> In-Reply-To: <46C3D7F6.8090508@selectacast.net> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Try this then - this is my standard character encoding index.jsp test. <%@ page contentType="text/html; charset=UTF-8" %> Character encoding test page

Data posted to this form was: <% request.setCharacterEncoding("UTF-8"); out.print(request.getParameter("mydata")); %>

To get the above working with GET, you'll need to make sure URIEncoding="UTF-8" has been set on the connector as Nathan pointed out earlier. Mark Joseph S wrote: > POST > > Mark Thomas wrote: >> Joseph S wrote: >>> When I did that my content displayed correctly, but on form submission >>> it got corrupted. >> >> POST or GET? >> >> Mark >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org