On Mar 14, 2009, at 2:20 AM, Sergiu Dumitriu wrote:
Niels Mayer wrote:
PS: Why not just have xwiki.cfg's default be: 'xwiki.encoding=UTF-8' ; likewise have web.xml's default for com.xpn.xwiki.web.SetCharacterEncodingFilter's 'encoding' be UTF-8. These encoding errors that oft go unnoticed are probably resulting in a number of configuration errors, and perhaps other bug-reports that aren't entirely valid, should they depend on encoding issues.
Big +1
This is one of the oldest issues open (http://jira.xwiki.org/jira/browse/XWIKI-94). I guess that since we're nearing 2.0, it would be a good thing to set this on trunk, before the 1.9M1 release.
WDYT?
We'd need to put huge disclaimers everywhere since this would cause problems with users (the majority?) who have MySQL or other dbs set in ISO8859-1, or their containers set a ISO8859-1 as the default, right? Is mysql in UTF8 by default? Same question for tomcat or other JEE containers. Thanks -Vincent