You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Bryan Dickey <bD...@youngliving.com> on 2005/05/16 21:56:24 UTC
Locale issue with MyFaces (not RI)
I've noticed the following Locale issue in MyFaces (1.0.8) not seen in
Sun's RI (1.1_01):
Unicode character escape sequences (e.g. \u9078\u629e) for Japanese
characters (contained in a properties file) render as question marks
when escape="false" in an outputText component. When escape="true" they
render correctly as encoding-independent character references. I would
like to include html as part of properties values, so escape needs to be
false to render the html correctly. In Sun's RI when escape="false",
the sequences are rendered using a Japanese encoding (I think based on
charset/encoding declared in page header, or Shift-JIS for Japanese by
default) rather than question marks.
Any suggestions for rendering properties file values containing
Japanese and html (or other non-escapeable text)?
Thanks,
Bryan