折磨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不如官方文档。

psi 0.11有bookmarkmanager的代码,没有bookmarkmanagedlg的UI,汗一个。

如果需要将某一个conferencen设置为autojoin, 可以发送原始的xml流

打开XML console,  输入如下

<iq type='set' id='2'>
<query xmlns='jabber:iq:private'>
<storage xmlns='storage:bookmarks'>
<conference name='psi_conference' autojoin='true'  jid='psi@conference.psi-im.org'>
<nick>yourNick</nick>
<password></password>
</conference>
</storage>
</query>
</iq>
如果需要取消就将 auto-join设置为false...