Zik23 wrote:
Hi,
I am using XWiki with external database with my own data. I am using SQL plugin.
When I run this simple script:
------------------------------------------------------------------------
#set ($mydb=$xwiki.sql.getDatabase("jdbc/xwiki_conference"))
$mydb.executeUpdate("UPDATE table SET title = 'ěščřžýáí' WHERE id =
1");
------------------------------------------------------------------------
- I get "?š??žýáí" saved in the database.
My web.xml and xwiki.cfg are set to UTF-8, database has utf8_general_ci as encoding.
What else should I change to save the characters properly?
Check the encoding of the connection.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/