Hi,
We're internationalizing our application and are facing character corruption issues. Our application uses sturts 2, db2. The browser defaults to ISO-8859-1 encoding, switching the encoding using browser to UTF-8 solves the problem partially as the characters that originally looked good get corrupted.
Example:
ISO encoding : Qté de résultats
UTF-8 encoding: Qté de résultats
ISO encoding : glycémiques
UTF-8 encoding: glyc�miques
Things we tried:
1) add <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> tag to every
jsp with the meta tag being the first element inside head
2) convert properties file using native2ascii tool. Works for
java strings and javascript but not for jsps. I mean how do you display the unicode entity \u00a9(the copyright symbol) in the jsp? (which displays fine in javascript and java strings)
please help me out!!