openfire中文乱码

折磨3天,openfire中文乱码为’??’的问题,原来早以被官方解决

建立数据库的时候 create database openfire default character set utf8

MySQL does not have proper Unicode support, which makes supporting data
in non-Western languages difficult. However, the MySQL JDBC driver has a workaround
which can be enabled by adding ?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
to the URL of the JDBC driver. You can edit the conf/openfire.xml file to add this value.

 

当程序民工,百度不如google,google不如wiki,wiki不如官方文档。

转载请注明来源:Leoncom-《openfire中文乱码》
Trackback

no comment untill now

Add your comment now