Multibyte Character encoding issue using GB18030 For Chinese Character

Reply

Join Date: Sep 2008
Posts: 1
Reputation: sathee_rose is an unknown quantity at this point 
Solved Threads: 0
sathee_rose sathee_rose is offline Offline
Newbie Poster

Multibyte Character encoding issue using GB18030 For Chinese Character

 
0
  #1
Sep 5th, 2008
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
Attached Thumbnails
1.JPG   2.JPG  
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the JSP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC