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.