powered by Jive Software

Encoding in Presence Service plugin

Hello. I have a problem with Presence service plugin. It won’t work with cyrillic charset.

All cyrillic symbols returned as “?”:

I added a variable “locale=ru” in openfire but it didt’n take any effect.

How to solve it?

Hi!

If you have sources, simply replace response.setContentType("text/xml); with response.setContentType(“text/xml;charset=UTF-8”); in XMLPresenceProvider.java and response.setContentType(“text/plain”); with response.setContentType(“text/plain;charset=UTF-8”); in TextPresenceProvider.java and build it by ant plugins command. Or just wait for official fix.

Thanx. I wrote a bot who controls states and puts them into DB