Re: Need "case folding quickcheck"

Markus Scherer <[email protected]> Tue, 07 Dec 2004 10:18:08 -0800
Newsgroups gmane.comp.lib.icu.general
Organization IBM
Message-ID <[email protected]>
The safest may be to enumerate all code points (or faster: all with Case_Sensitive), and apply 
simple and full case foldings. If they change, then add them to a set. Then store that set and use 
it in your code. (You can serialize a UnicodeSet, by the way. It generates a flat array of uint16_t.)

This should work because even full case folding by definition is context-insensitive.

You may need to do something special (read: hardcoding) with U+0130 and U+0131, as usual.

markus