[jdev] Escaping JID using XEP-0106

Matthias Wimmer m at tthias.eu
Wed Jun 27 07:59:57 CDT 2007


Sergei Golovan schrieb:
> I would say that the introduction of the XEP clearly says that it IS
> about allowing nice new characters.

I don't read it that way. I read it:

They one to have "O'Hara" as their username in the account backend (e.g. 
the LDAP server) and they may for example log in to the website as 
"O'Hara" then. But with that username, their JID will then be 
"o\27hara at example.com". And as long as you display a JID you will 
display "o\27hara at example.com". But if you only present the username, 
than you may present "o'hara" again (but this username then does not 
contain the "@example.com" part).


Matthias



More information about the JDev mailing list