by Nevermark an hour ago
> How would you decompose a character string
With a capitalization bit mask of course!
And you can speed up full equality comparisons with a quick cap equality check first.
(That is the how. The when is probably "never". :)
Don't forget to store the locale used for capitalization, too.