[jdev] are JIDs case sensitive?

Peter Saint-Andre stpeter at jabber.org
Tue Aug 1 09:59:43 CDT 2006


Matthias Wimmer wrote:
> Hi Matt,
> 
> Matt Tucker schrieb:
>> The part you quoted is actually the part that specifies that the node is
>> not case sensitive. Saying that the "nodeprep profile of [STRINGPREP]"
>> applies to nodes (or usernames) is basically a fancy and more accurate
>> way of stating that usernames are not case sensitive (it also specifies
>> other rules). However, resources *are* case sensitive.
> 
> Are are right with that, but I wanted to add, that using the nodeprep
> profile of stringprep is more than being case-insensitive. It takes care
> about much more letters. E.g. even the following two JIDs are the same:
> 
> straßburg at example.com is the same JID as strassburg at example.com.

Right. Stringprep uses the term "case folding", since the terms "case
sensitive" and "case insensitive" refer only to US-ASCII characters.

Peter

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.jabber.org/jdev/attachments/20060801/2e564bc1/attachment-0002.bin>


More information about the JDev mailing list