I was running 3_3_2 version of openfire and I have encoutered the XML
parser bug (the one that resulted in adding null characters to utf-8
encoded messages containing specific letters) . I’ve applied the patch,
as suggested by Timur (thank you very much), eventually I’ve downloaded
the 3_3_3 version. Null characters are not appearing, but I have
I send a message (or IQ stanza) containing characters like the one coded with 286 (polish
language letters- to be more accurate), I am logging that message, and
occasionally it is corrupted. The longer the message- the bigger
possibility it will arrive incorrect. I’ve had that problem using my
custom client as well as using JAJC. Unfortunately I cannot find
pattern, sometimes a message is delivered and logged correctly, and
sometimes the same message has a letter corrupted. Frankly speaking I don’t care much about messages, but corrupted iq stanza is much more serious.
In case it isn’t the server fault- I use the following code to send messages in my custom client:
moWriter = new BufferedWriter(new OutputStreamWriter (moOutputStream,"UTF-8")); moReader = new BufferedReader(new InputStreamReader (moInputStream,"UTF-8")); ... moWriter.write(str); moWriter.flush();
I’d be very grateful for all the feedback!