• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

character corruption in french and german languages

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any help is much appreciated
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic