webtier@glassfish.java.net

Re: JSF 2.0 utf-8

From: <webtier_at_javadesktop.org>
Date: Fri, 17 Jul 2009 01:30:29 PDT

Figured it out.

In ApplicationResourceBundle.java, there is a method getResourceBundle(Locale).

It loads the resourcebundle like this:

bundle = ResourceBundle.getBundle(baseName, locale, loader);

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
[Message sent by forum member 'gabox01' (gabox01)]

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