[JDEV] Invalid UTF-8

David Waite mass at akuma.org
Mon Dec 29 03:43:26 CST 2003


Check which version of expat is being used - some older versions have 
had utf-8 probs.

-David Waite

On Dec 29, 2003, at 12:48 AM, Nathan Walp wrote:

> 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
>




More information about the JDev mailing list