• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed in internationalization of J2EE application

 
Prashant Wu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In our J2EE based application, we need to support multiple language input in a text box.


The requirement is:

When a user inputs some value in a text box in any language other than English, the same should be stored in data base and next time when we display user�s profile, the value should be displayed in the same language. Say for an example, the user is Japanese and he inputs his name in Japanese language. When he submits the page, the name should be stored in Japanese. The same Japanese text should be displayed against his name in his profile when he sees his profile.



The problem is:

When a user enters the Japanese language text in the jsp (the encoding of the page in this case would be �Shift_JIS�) and clicks submit, the same value is being inserted in the Informix database and when retrieved back from database to display it to user, the characters are converted to �???�. We have also tried setting the encoding of string being inserted explicitly but it�s still not working.



If anybody has faced the same problem and know the way out, kindly suggest. Appreciate your help.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Prashant MV",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic