[JDEV] case-sensitive of JID

Julian Missig julian at jabber.org
Wed Feb 13 16:01:54 CST 2002


On Wed, 2002-02-13 at 16:53, David Waite wrote:
> Alexandre N. Safiullin wrote:
> > Yeah.. In order to properly fix it plz tell me whether user (and server ;) )
> > parts of JID can be non-ASCII (i.e. UTF8)?
> >
> Tough question :-)
> Case insensitivity is only done in most implementations based on 
> US7ASCII characters, i.e À != à.
> 
> I do not think DNS allows for non-US7ASCII characters at all currently 
> (at least if you go by RFCs), but the host portion is meant to have the 
> exact same restrictions as DNS names. I believe that some 
> implementations will allow you to declare local components named with 
> extended characters, in this case those same implementations would most 
> probably default to case-sensitive comparisons of those characters. 
> Completely undefined behavior :-)
> 

Hrmm, for some reason I was under the impression that host names could
have extended characters now, but I guess not.

Julian
-- 
email: julian at jabber.org
jabber:julian at jabber.org




More information about the JDev mailing list