Hi,
You need to use native2ascii (program comes with java sdk and is also an ant method) to convert the UTF-8 (or other formats) into the java property file format which use \uXXXX
I normally refer people here also for some other tips: http://www.anassina.com/struts/i18n/i18n.html
But it doesn't seem to be working for me :(
Main point is you need to request.setEncoding("UTF-8") on every request (well, ones that have form values being submitted). Otherwise they will be treated as normal ascii and be corrupted. Also pages need the response encoding or page encoding set to UTF-8 too.
Václavík Radek wrote:
Hi,
I am using resource files for internationalization of my web application. However, I am experiencing problems with character encoding. If I have some international characters (e.g. Czech) in the resource file, these do not display correctly in the generated page.
I have the resource file encoded in UTF-8, as well as all the web pages.
Have I missed any trick, that solves this problem?
Thanks in advance.
Radek
_____________________________
Ing. Radek Václavík ICS Department - webmaster
ZeNTIVA a.s. U Kabelovny 130, 102 37 Praha 10 Czech Republic tel. +420 267 243 296 _____________________________
-- Jason Lea
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]