This content has been marked as final.
Show 3 replies
-
1. Re: Encoding problem with UTF-8
ukyovirgden Apr 10, 2010 11:55 AM (in response to pedjasmek)I'm very new to Seam but I've been there a couple of times :)
There are a couple things to check
1. Make sure UTF-8 works with database. Using MySQL, I remember pulling my hair out many times at table and even column level wrong encoding. This is esspecially important if you change encoding after you create your database.
2. Don't know which server you're using but with apache make sure you set UTF-8 with the listener. This is the setting that affects your form posted field encodings
3. Again not with Seam but using facelets with Tomcat, I recall a setting a context param in web.xml
<context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param>
Hope these help,
Ukyo
-
2. Re: Encoding problem with UTF-8
ukyovirgden Apr 10, 2010 11:57 AM (in response to pedjasmek)Oops. wrong paste.. meant to write...
<context-param> <param-name>com.sun.faces.disableUnicodeEscaping</param-name> <param-value>true</param-value> </context-param>
-
3. Re: Encoding problem with UTF-8
ukyovirgden Apr 10, 2010 12:00 PM (in response to pedjasmek)Also check this out