dev@javaserverfaces.java.net

Re: Unicode in JSF

From: Mehdi Sidhoum <mehdi.sidhoum_at_geomatys.fr>
Date: Wed, 12 Oct 2011 16:00:57 +0200

Le 11/10/2011 19:23, Phạm Thanh Tùng a écrit :
> Dear JSF Experts,
> I don't know send mail to this email address is exactly but hope is true.
> Current i developing a website and have trouble, that is unicode. I
> search and tried few ways but fail. Eg: set meta tag (both cases html
> and xhtml), set acceptCharset="utf-8" in tag form, edit web.xml but
> seem nothing change.
> I hope soon received solution for this.
> Thank you,
>
Hi Phạm Thanh Tùng,

You can add a filter in your webapp to encode all strings in utf8, take
a look here : http://www.jroller.com/mert/entry/utf_8_encoding_with_jsf

Hope this will be usefull for you

Best regards.