webtier@glassfish.java.net

Re: [webtier] JSF 2.0 utf-8

From: <webtier_at_javadesktop.org>
Date: Wed, 08 Jul 2009 06:27:35 PDT

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