[JDEV] case-sensitive of JID

Julian Missig julian at jabber.org
Wed Feb 13 15:44:52 CST 2002

On Wed, 2002-02-13 at 16:31, Alexandre N. Safiullin wrote:
> Hash: SHA1
> >>>>> "a" == admin  <admin at jabber.fsinf.de> writes:
>  a> On Tue, 12 Feb 2002, Matthias Wimmer wrote:
>  >>> I believe that JIDs are not case sensitive, but case should be retained
>  >>> for display.
>  >> The user and domain part is not case sensitive - the resource part is.
>  a> Note that some transports are buggy. At least AIM-t and ICQv7-t both are
>  a> case sensitive concerning JIDs. 
>  Yeah.. In order to properly fix it plz tell me whether user (and server ;) )
>  parts of JID can be non-ASCII (i.e. UTF8)?

Username has the same constrants as usernames in email... I don't have a
link at the moment.
Server has the same constrants as host names anywhere, which means they
can be UTF-8. Resource has no constrants other than the obvious XML ones
which would break the message... and is UTF-8.

email: julian at jabber.org
jabber:julian at jabber.org

More information about the JDev mailing list