Bruno Haible wrote: > I'm adding functions for comparing Unicode strings, while ignoring their > normalization form. > > *** lib/uninorm.h.orig 2009-03-06 19:20:21.000000000 +0100 > --- lib/uninorm.h 2009-03-06 19:01:38.000000000 +0100 > > + /* Compare S1 and S2, ignoring normalization.
"ignoring normalization" is confusing. I presume you mean "Compare normalized versions of S1 and S2". > + NF must be either UNINORM_NFD or UNINORM_NFKD. Does it have a functional difference to the result which the user chooses. If not I would just hardcode a choice within the function. cheers, Pádraig.