webtier@glassfish.java.net

Re: JSF 2.0 utf-8

From: <webtier_at_javadesktop.org>
Date: Fri, 29 Oct 2010 11:46:42 PDT

> Figured it out.
>
> I have debugged this line, and at this point, no
> matter what locale is set, characters are screwed up.
> I have faced this problem before in my applications,
> and the solution was this article:
>
> http://www.thoughtsabout.net/blog/archives/000044.html

Interesting article indeed. This same problem is also explained here with a little more elaborate example:

http://jdevelopment.nl/java/internationalization-jsf-utf8-encoded-properties-files/

It's a shame though that JSF doesn't provide this out of the box. It's hard to wrap one's head around the rationale behind not providing UTF-8 support at a location where it probably matters most.
[Message sent by forum member 'arjan_t']

http://forums.java.net/jive/thread.jspa?messageID=486502