[JDEV] Invalid UTF-8

Nathan Walp faceprint at faceprint.com
Mon Dec 29 01:48:26 CST 2003


I think jabberd 1.4 is allowing invalid utf-8 to pass through to
clients, which is making Gaim's XML parser very unhappy.  If I sit
around in jdev long enough, I usually get someone quitting with
something along the lines of:

<presence from='jdev at conference.jabber.org/dybbouk'
to='faceprint at faceprint.com/patience'
type='unavailable'><status>D?connexion</status><x
from='mirari at jabber.com/Gabber' stamp='20031226T05:56:36'
xmlns='jabber:x:delay'/><x
xmlns='http://jabber.org/protocol/muc#user'><item affiliation='none'
role='none'/></x></presence>

or 

<presence from='jdev at conference.jabber.org/albertogtsready'
to='faceprint at faceprint.com/patience'><status>Sesi?n
finalizada</status></presence>

Naturally, the above question marks should be replaced with the
appropriate accented character.  I'm almost positive it's being sent as
non-utf8, and jabberd is just letting it through.  I've currently got
faceprint.com running the debian stable jabberd package: 1.4.2a-5.  

Has anyone got any ideas about this?  If this is somehow my fault, I'll
gladly wipe the egg from my face, and fix my bugs.  If this is in fact a
bug in the jabberd 1.4 codebase, I think it's in everyone's best
interest to get it fixed.

Thanks,
Nathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.jabber.org/jdev/attachments/20031229/1b0a8fc3/attachment-0002.pgp>


More information about the JDev mailing list