Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 44975 invoked from network); 27 Sep 2005 13:21:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2005 13:21:42 -0000 Received: (qmail 8088 invoked by uid 500); 27 Sep 2005 13:21:35 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 8039 invoked by uid 500); 27 Sep 2005 13:21:35 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 8026 invoked by uid 99); 27 Sep 2005 13:21:34 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2005 06:21:34 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id BA83C122; Tue, 27 Sep 2005 15:21:13 +0200 (CEST) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 36814] - Parameter for POST encoding X-Bugzilla-Reason: AssignedTo Message-Id: <20050927132113.BA83C122@ajax.apache.org> Date: Tue, 27 Sep 2005 15:21:13 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36814 ------- Additional Comments From Udo.Walker@abas.de 2005-09-27 15:21 ------- Maybe I am too silly to do it, but for my test case it does not work setting the encoding with a filter. I did this: in the web.xml as the first filter in the list: Set Character Encoding package.SetCharacterEncodingFilter encoding UTF-8 This is the filter which is packaged as example with Tomcat. If I do now a post with UTF-8 characters all submitted UTF-8 characters are corrupted. What am I doing wrong? There is also a problem with valves. If you read a parameter from the request inside a valve then the character encoding is automatically set to the default (spec) value which is ISO-8859-1. Later you can not change this in a filter anymore. (If I use my patch instead, everything is fine, no matter where I try to read parameters from the request.) With regards, Udo -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org