Paul,

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.

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

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Paul Pogonyshev wrote:
Hi,

My page starts with "<%@ page contentType="text/html; charset=utf-8"...",
but apparently charset is not taken into account.  I.e. when a page is
rendered as JSP (with all JSF-specific contents removed, of course), non-
ASCII characters are written in UTF-8 encoding, as expected.  However, if
the page is rendered as JSF, non-ASCII characters from Java code are
written as HTML-entities, i.e. the code doesn't know it should write in
UTF-8 charset.

Is there a way to fix this problem?  How do I specify charset for JSF?

Paul





Reply via email to