This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes How to display Japanese/Chinese/Vietnamese in HTML text field? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to display Japanese/Chinese/Vietnamese in HTML text field?" Watch "How to display Japanese/Chinese/Vietnamese in HTML text field?" New topic
Author

How to display Japanese/Chinese/Vietnamese in HTML text field?

Ngo Hoang Minh
Greenhorn

Joined: Apr 26, 2007
Posts: 2
Dear Struts experts,

I develop an J2EE application which support Japanese, Chinese and Vietnamese characters. I used Struts 1.1, WebSphere Studio Application Developer Integration Edition(WSAD IE) 5.1.1 and WebSphere Application Server(WAS) 5.1

I have a problem with display the value of inputted text. The application has several HTML forms which allow the user to input Japanese, Chinese or Vietnamese characters. if there is a validation error, the application displays the inputted HTML form with an error message, at this error page the inputted String of Japanese, Chinese or Vietnamese not display correctly as what the user inputted,

The same problem with editing function. The Japanese, Chinese or Vietnamese value of text field changed format/encoding

I used Struts taglib such as <html:text>, <bean:write>

I searched on Internet and applied some suggestions such as encoding filter but I did not successfully

I hope to receive your advices, thank you very much!
aman hindustani
Ranch Hand

Joined: Jun 15, 2006
Posts: 57
Do you mean to ask ..like intenationalization..?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display Japanese/Chinese/Vietnamese in HTML text field?