myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Pogonyshev <p.pogonys...@anakreon.net>
Subject Re: charset problem
Date Mon, 20 Nov 2006 11:11:23 GMT
Daniel Young wrote:
> You may find you need a CharsetFilter:
> 
> public void doFilter(final ServletRequest request, final ServletResponse
> response, final FilterChain chain) throws IOException, ServletException {
>    request.setCharacterEncoding(encoding);
>    chain.doFilter(request, response);
> }
> 
> I tried using the <locale-encoding-mapping-list> in web.xml but really had
> no joy until I added the CharsetFilter.
> 
> Ref: http://wiki.apache.org/tomcat/Tomcat/UTF-8

Unfortunately, this doesn't help :(  Actually, I written a charset
filter before (with the same code)...

Does the simple page I attached work as expected (produces UTF-8
characters, not entities) for you?

Paul

Mime
View raw message