Hi Martin,

I don't think it is the problem of Struts the problem lays at Tomcat. Try to
experiment with Tomcat config File. In German we have to use the UTF Code
directly or the Hex Code for the German special Charater.

Regards

Richard



-----Ursprüngliche Nachricht-----
Von: Martin Kindler [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 21. September 2005 18:22
An: user@struts.apache.org
Betreff: Again: I18n problems

I've got a problem with using non-ISO-8859 characters (they are UTF-8) in my
Struts application.
When I am using property-Strings in the resource bundle with cyrillic
letters and use them they get mangled.
They are mangled when I use the JSTL fmt:message tag as well as when I am
importing them in my application and make the result available in some
scope.

I think my whole chain is configured to be UTF-8.
At least the property-file as well as the .java-Files are UTF-8 encoded.
Tomcat/Jasper are set to UTF-8, Struts is configured to use UTF-8 and also a
filter is used to set the encoding to UTF-8.

The browser detects my files as UTF-8.

I made a little experiment delivering a tiny HTML-page with cyrillic
characters thru my chain (using a simple forward in struts-config). This
works. Then renaming the file to .jsp delivers mangled characters. I see
that the Java-file produced from my JSP is already mangled. Jasper is
configured with javaEncoding UTF8 (which is the default). I do not see any
other configuration option applicable.

What can I do?

Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to