Hi,
thank you , I'll refer the sites given.My problem is this. I have some text boxes in a jsp .<%@page pageEncoding="UTF-8"%> is included in this jsp. I have set the keyboard language to Arabic and when I run the application I'm entering Arabic words as the text box values.I'm saving those values to the database and get the data and trying to display them again in another jsp page.Then they are not displayed in Arabic.Because the data is saved to the database in some unknown format.
But when I remove the <%@page pageEncoding="UTF-8"%> from the jsp file data is saved in a format that i can display them again in a jsp in the correct language format.But then the problem is when <%@page pageEncoding="UTF-8"%> is removed from the jsp file can't display labels of that jsp in Arabic language.For the Arabic labels displaying "??? ".
I want both to display Arabic labels and save Arabic values in the correct format .
Ankit Garg wrote:Hi piyuma, welcome to javaranch.
I didn't understand your question properly, but how did you enter a value of a different language in a text field in a JSP page?? If you are entering normal english characters and are getting a different value as a response, then I'm clueless about this...