At Mon, 28 Jul 2003 19:19:16 +0100, Chris Haynes wrote: > > Your Servlet container should implement the Sun Servlet Spec.(Version > 2.3, section 4.9), which says that if you call > request.setCharacterEncoding(String) > before accessing any of the parameters, the specified encoding is > used in decoding the requests' parameters. > > So you can just call > > request.setCharacterEncoding("UTF-8"); > request.getParameter("param"); Thanks for the suggestion, Chris. I changed my code as above and it works fine. ------------------- Shigemichi Yazawa yazawa@globalsight.comReceived on Monday, 28 July 2003 17:14:11 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 August 2008 18:35:18 GMT