We have had an issue throughout all versions of Openfire with unicode characters (such as Chinese) getting corrupted in the messages, group names and JID’s.
For instance the JID:
would sometimes (but not always) change to something like this:
and generate errors like this:
2010.02.02 04:10:32 [org.jivesoftware.openfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.jav a:128)] Internal server error
java.lang.IllegalArgumentException: Illegal JID: 坏��气是我@ourserver.com
Obviously this results in ongoing issues and lots of other random error messages.
Also if we send a message with chinese characters in a message it will often get these �� inserted randomly in the message, and will be losing some characters as a result.
It isn’t always �� characters - sometimes its other funny characters.
I have tried from various different clients and still have the same issues so I’m pretty sure the issue is in Openfire.
I assume this issue is related to MINA (but it may not be) and have seen other discussions about unicode issues but I am not sure if any of them are specifically related to this one. We have tried updating the MINA library to v1.1.7 and it actually seems to help a bit, but we still have the same issues.
Our service is multi-language and it is important that we fully support these character sets.
Thanks for your help with this,