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-tp22117616p22120199.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