Hi All,
Im having one problem in the multibyte character support im using GB18030 encoding in my application.
Im using Weblogic sever.
the configuration that i did so far is
1. Web.xml - Configured the GB18030 encoding
2. weblogic.xml - Configured the GB18030 encoding
3. ActionServlet.java - added GB18030 encoding in request.setEncoding..
4. Header.jsp - Configured the GB18030 encoding as meta tag
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
here is the problem im facing..
In the jsp i have entered few chinese character its length is more that 35.
in the actio class im validating if it exceed 35 means i will show the validatin error in that Same jsp.
here is the problem occures the input that i have given is changed after the validation few character had been changed to "?"..
Example:
input that i have given in the JSP - Attached File - 1.JPG
"欢迎来到东莫村 冰冻星球 铁男本色"
after the validation error it is changed as the below content - Attached file - 2.JPG
欢迎来到东莫?? 冰冻??球 铁男本色[/B]
i have attached the screen shot also in this forum..
can u please any one give any solution ...
Thanks in Advance
Satheesh Venkatachalam