RFC: Case-Insensitive Strings (And usually they really do *have*case)

Michel Fortin michel.fortin at michelf.com
Mon Jan 10 19:07:12 PST 2011


On 2011-01-10 16:30:50 -0500, Daniel Gibson <metalcaedes at gmail.com> said:

> Am 10.01.2011 22:16, schrieb Michel Fortin:
>> Comparing the lowercase version of two strings works well for ASCII, 
>> but I doubt
>> it works very well for Unicode. Case conversion is not bidirectional (for
>> instance both 'SS' and 'ß' become 'ss' in lowercase in German),
> 
> That's wrong, 'ß' is lowercase and no upper-case version is used 
> really, though one exists in Unicode (see: 
> http://en.wikipedia.org/wiki/Capital_%C3%9F ).

Oops, you're right. I got it backward.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list