[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new modules for Unicode string comparisons
From: |
Pádraig Brady |
Subject: |
Re: new modules for Unicode string comparisons |
Date: |
Fri, 6 Mar 2009 21:44:43 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
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.