webtier@glassfish.java.net

Re: [webtier] JSF 2.0 utf-8

From: Paulo Cesar Reis <casmeiron_at_gmail.com>
Date: Wed, 08 Jul 2009 15:14:07 -0300

Hi,

Did you try in another browser/O.S? I had this kind of problem with my
VirtualMachine running firefox on windows xp sp2 and when I tried in another
combination of O.S+browser the problem just disappear, it worked for me,
give it a try (if you didn't do).


On 7/8/09 10:27 AM, "webtier_at_javadesktop.org" <webtier_at_javadesktop.org>
wrote:

> Hi,
>
> Yes, i double checked my bundle, and it is in UTF-8 for sure.
>
> I have also done the following things:
>
> 1.
> <context-param>
> <param-name>com.sun.faces.disableUnicodeEscaping</param-name>
> <param-value>true</param-value>
> </context-param>
>
> 2. CustomCharacterEncoderFilter.java
>
> public class CustomCharacterEncodingFilter implements Filter {
>
> public void init(FilterConfig config) throws ServletException {
> }
>
> public void doFilter(ServletRequest request, ServletResponse response,
> FilterChain chain) throws IOException, ServletException {
> request.setCharacterEncoding("UTF-8");
> response.setCharacterEncoding("UTF-8");
> chain.doFilter(request, response);
> }
>
> public void destroy() {
>
> }
> }
>
> None of them helps.
> [Message sent by forum member 'gabox01' (gabox01)]
>
> http://forums.java.net/jive/thread.jspa?messageID=354646
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>