Jeff Bischoff wrote:
> I haven't had any trouble using UTF-8 so far. Can you confirm that you 
> have the following in your pages:
> 
> <%@ page contentType="text/html; charset=utf-8" language="java" %>
> ...
> <head>
>    ...
>    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
> </head>
>
> I'm pretty sure you need both.

Yes, I do have both.

> Can you be more specific about your problem? What do you mean by 
> "characters from Java code"?

Actually, those include both characters from Java code and simply coded
in in the page, e.g.

        абвгд
        <%= "абвгд" %>

both produce HTML-entities, even though Cyrillic letters are encodable
in UTF-8.  This is not a problem in HTML parts (except for increased
page size), but is not appropriate in JavaScript.

Note that the site is in JSP and I only add JSF on top of that, at the
request of the client.  It is probably a hack, but works fine except
for the charset problem...

Paul

Reply via email to