[JDEV] case-sensitive of JID

Iain Shigeoka iainshigeoka at yahoo.com
Wed Feb 13 21:31:04 CST 2002


On 2/13/02 2:01 PM, "Julian Missig" <julian at jabber.org> wrote:

> 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.

I think they can (or will soon.)  I recall just recently reading an article
about the new domain names being issued (or about to be issued) with
non-english character sets.  The article was discussing the obvious methods
of stealing domains or hijacking browsers by registering identical looking
domains that are spelled differently (mixing characters from different
character sets.)  For example, some russian characters look the same as
english (arabic) characters but are in fact different (with different
character codes and different pronunciations.)  The article was warning
people that they may need to start scanning for, and alerting users to
domain names that contain characters from different character sets in the
same name...  So if it is not here now, it is on its way soon.  One of the
costs of expanding the Internet outside of the english world I guess. :)

-iain


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the JDev mailing list