Hello
I configure as stephane explained me. I have the good character sets in
mysql :
| character_set_client | utf8
|
| character_set_connection | utf8
|
| character_set_database | utf8
|
| character_set_results | utf8
|
| character_set_server | utf8
|
| character_set_system | utf8
|
| character_sets_dir | /usr/share/mysql/charsets/
|
| collation_connection | utf8_general_ci
|
| collation_database | utf8_general_ci
|
| collation_server | utf8_general_ci
|
However, it still doesn't work.
I have an error like this :
Caused by: org.apache.commons.jrcs.rcs.TokenMgrError: Lexical error at line
37, column 2. Encountered: "\u606f" (24687), after :
"(a)\n\n\nMain\nTest2\n\nen\n0\n\nXWiki.XWikiGuest\n1117191196650\n1117191218887\n1.2\nJe
parle chinois !\n\u4fe1"
at
org.apache.commons.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:800)
I can see well my chinese characters. It looks like there was an error where
tomcat reads them.
I start Tomcat with java option : -Dfile.encoding=UTF-8
my LANG variable is fr_FR.UTF-8 (I also test en_US.UTF-8)
I change encoding in web.xml and xwiki.cfg.
It might be worth checking whether all character-set-*
variables are
correctly set to "utf8" in the MySQL variables tables. I copy below what
I get when running a "SHOW VARIABLES" against a MySQL 4.1 server that I
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at
objectweb.org
Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau