You can check whether browser encoding is set to UTF-8, from Edit -> Encoding(in IE not sure about the menu structure in other browsers). If not set that as well. However, as I have mentioned in my previous posts, I am suspecting that your app/web server is not configured for Arabic language.
posted 11 years ago
Originally posted by Krithika Srinath: You can check whether browser encoding is set to UTF-8
I can see the browser to see what encoding it has used.I would like to find this in the servlet. I think this can be done to pin down the issue with character set.
You getCharacterEncoding() to see what encoding the browser has used to format this request. That can be null also , as per the servlet specification if its null then it character set should be considered as Cp1252.
So in your case what is the character set you are getting in the servlet ?
If the browser is not sending its content in UTF-8 format then setting the encoding as UTF would not convert those bytes of different caracter set to Unicode. [ September 18, 2007: Message edited by: Rahul Bhattacharjee ]