From: Mike (mike-list@pobox.com)
Date: Thu Jun 08 2006 - 23:22:40 CDT
>> Some of the recent discussions have led me to
>> question my implementation of upper/lowercasing
>> and case folding. Currently I simply iterate
>> through a string exchanging characters with
>> their replacements. I don't first normalize
>> to any form, or do any reordering of combining
>> marks afterward.
>
>> My question is, should I be doing these things?
>
> Like a lot of things, it depends on why you are doing them....
I have written Unicode-aware replacements for toupper()
and tolower() (and added tocasefold() for completeness).
Since getting collation working, though, I will probably
use that instead for case-insensitive matching.
Mike
This archive was generated by hypermail 2.1.5 : Thu Jun 08 2006 - 23:27:32 CDT