Re: [tomcat] : request.setCharacterEncoding (UTF-8) doesn't work ?

2006-03-07 Thread David Delbecq
sol myr a écrit : Hi, I'm having a problem with HttpServletRequest.setCharacterEncoding(UTF-8). Basically, tomcat seems to ignore it completely, and assume latin1 encoding. request.setCharacterEncoding(UTF-8) must be called prior to any request.getParameter() call. If your code

RE: [tomcat] : request.setCharacterEncoding (UTF-8) doesn't work ?

2006-03-07 Thread Larry Isaacs
Assuming you are using a version of Tomcat 5, you will have to modify something on the Connector to fix this, easily. If you want request.setCharacterEncoding(UTF-8) to affect the encoding of GET query parameters (not just POST parameters), then you must set useBodyEncodingForURI=true on the