[xwiki-users] UTF-8 encoding

Jan Kodera jan.kodera at gmail.com
Mon Oct 29 21:03:05 CET 2007


Hi,
 I spent last day with setting up the UTF-8 encoding in xwiki. I set
all thing according to offical guide, but i had question marks instead
of letters in my database. I realized that i must set up hibernate. So
I made some changes in my hibernate.cfg.xml file. I added these to
lines.
  <property name="connection.useUnicode">true</property>
<property name="connection.characterEncoding">UTF-8</property>

it working perfect now. It may help to someone, who will have the same problem.

Honza


More information about the users mailing list