tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mester József <>
Subject Re: Character encoding
Date Mon, 18 Dec 2006 13:15:54 GMT
Hello Mark

>Mester József wrote:
>> Ok. Let's see my problem. 
>> I have a form with text input box. I type Árvíztűrő tükörfúrógép and I get
" ÃrvíztűrÅ tükörfúrógép

>I have tested this with the latest 5.5.x source and it works correctly
>(there haven't been any encoding related fixes since 5.5.20). Have you
>got the request dumper valve enabled? This causes all request
>parameters to be processed as ISO-8859-1 and enabling it was the only
>way I could replicate the behaviour you see.

I develop with Netbeans 5.5 and my servlet container is Netbean's bundled Tomcat. (5.5.17)
I don't changed anything in tomcat's settings.
What is request dumper valve? And where can I set?

>If you haven't got this valve enabled, check you application for
>filters, valves etc that may read request parameters before your
>request.setCharacterEncoding("UTF-8") is called. Note parameters are
>only read once so if the encoding is wrong then you can't easily fix it.

There are no filters in my application.


Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message