Keith Hyland said:
> I'm testing some japanese characters in my app and I'm getting some
> strange behaviour.
>
> japanese characters that are in the jsp page get displayed correctly.
>
> However characters that get displayed through the <fmt:message> tag get
> corrupted.
>
> I have set the -Dfileencoding="UTF-8" in my catalina.bat
> (CATALINA_OPTS), and set the
>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
> </head>
>
> at the op of my jsp page.
>
> Is there something I have to do to my resource properties file?

I think that resource properties ONLY support ISO-8859-1. They do allow
UTF characters to be defined provided the high order byte is zero. It is a
weakness in property files (which is yet to be addressed).

Consider populating the properties file without using the default load
mechanism to allow/preserve the UTF-8 encoding.

John Sidney-Woollett
> Any help appreciated.
>
> Cheers,
> Keith
>
> Is there something el
>
> Ralph Einfeldt wrote on 02/03/2004, 14:06:
>
>  > <%@ page contentType="text/html;charset=UTF-8"
>  > > > pageEncoding="UTF-8"  %>
>
>


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

Reply via email to