aspose file tools*
The moose likes Struts and the fly likes character corruption in french and german languages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "character corruption in french and german languages" Watch "character corruption in french and german languages" New topic
Author

character corruption in french and german languages

Kiran Jakkula
Greenhorn

Joined: Aug 04, 2010
Posts: 7
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!!

Kiran Jakkula
Greenhorn

Joined: Aug 04, 2010
Posts: 7
Any help is much appreciated
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: character corruption in french and german languages