[jdev] Escaping JID using XEP-0106

Sergei Golovan sgolovan at nes.ru
Wed Jun 27 07:33:45 CDT 2007

On 6/27/07, Mridul Muralidharan <mridul at sun.com> wrote:
> Why would you want to unescape it ?
> The identifier of the contact is user\40jabber.org\2fuser in xmpp world.
> The node by itself conveys no meaning other than when associated with
> the full jid.

Citing XEP-0106:  "Typically, unescaping is performed only by a client
that wants to display JIDs containing escaped characters to a human
user, or by a gateway to some external system (e.g., email or LDAP)
that needs to generate identifiers for foreign systems."

The second purpose is clear, but the first (display to a human user)
is not so clear for me now.

Sergei Golovan

More information about the JDev mailing list