[jdev] jabber and unicode
stpeter at jabber.org
Tue May 18 09:19:48 CDT 2004
On Mon, May 17, 2004 at 10:33:46AM -0700, JohnM wrote:
> Im working with jabberoo. I have just been using ascii strings for now but I need to add unicode support. It looks like jabberoo is using Expat in UTF-8 mode, and jabberd server supports UTF-8...
> So all I need to do is encode and decode from UTF-8 what I pass to jabberoo?
> Does this apply to everything, like jid strings?
JIDs eventually need to conform to various stringprep profiles (see the
XMPP Core spec), but many clients and components leave that up to do
server (though I don't think jabberd 1.4.x does this year, does it?).
> Will this work with any compliant jabber server?
Yes, they all do UTF-8 (if they don't, they are highly noncompliant).
More information about the JDev