URL encoding problems are usually due to the application server. If you are using Tomcat, there's a config param that you should check...
In the server.xml of your tomcat, look for the connector you are using, and add the URIEncoding: <Connector port="8080" URIEncoding="UTF-8"> Hope it helps. -----Mensaje original----- De: ziscloud [mailto:[email protected]] Enviado el: viernes, 20 de febrero de 2009 14:51 Para: [email protected] Asunto: Re: [Stripes-users] Unrecognizable Code of Localized error messages Hi Héctor López, After reading your reply, I invoke the native2ascii command to convert all Chinese characters to ascii, and the problem is solved. Thank you very much! one more question: In the acitonBean, one handler method return redirectResolution, and I invoke addParameter method to add parameter which is Chinese characters, then in jsp page, I use EL ${param.xxx} to read the value of parameter, Unrecognizable Code comes out. I have tried to use filter to set characters Encoding, but it no any effort. In additional, this code works well: <%=new String(request.getParameter("message").getBytes("ISO-8859-1"), "UTF-8")%> and if I return forwardResolution in the handler method, everything is all right. please help! -- View this message in context: http://www.nabble.com/Unrecognizable-Code-of-Localized-error-messages-tp2211 7616p22120199.html Sent from the stripes-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
