From 403096ca7a53fa0010139e51db7b58637b20ee63 Mon Sep 17 00:00:00 2001 From: Dmitriy <dima190386@rambler.ru> Date: Sat, 20 Jan 2018 18:07:17 +0400 Subject: [PATCH] fix ??? instead utf-8 string http://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationWAR/InstallationMySQL/ --- 9/mysql-tomcat/xwiki/hibernate.cfg.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/9/mysql-tomcat/xwiki/hibernate.cfg.xml b/9/mysql-tomcat/xwiki/hibernate.cfg.xml index cf66897..1c69b39 100644 --- a/9/mysql-tomcat/xwiki/hibernate.cfg.xml +++ b/9/mysql-tomcat/xwiki/hibernate.cfg.xml @@ -88,6 +88,8 @@ <property name="connection.password">replacepassword</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> + <property name="connection.useUnicode">true</property> + <property name="connection.characterEncoding">UTF-8</property> <property name="dbcp.poolPreparedStatements">true</property> <property name="dbcp.maxOpenPreparedStatements">20</property> <mapping resource="xwiki.hbm.xml"/> -- GitLab