  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Character encoding | Character encoding 2006-12-18 - By Mark Thomas
Back Mester J??zsef wrote: > 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 (See http://ISO-8859.ora-code.com)-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?
Sorry, no idea where NetBeans configures this stuff. I don't use NetBeans so I don't know how they have integrated Tomcat. It would normally be in a file called server.xml As to what it is, see http://tomcat.apache.org/tomcat-5 (See http://cat-5.ora-code.com).5-doc/config/valve.html
In your position, I would do a clean Tomcat installation and test my app on that to rule NetBeans out as a factor.
>> 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 (See http://UTF-8.ora-code.com)") 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.
OK.
Mark
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |