[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new modules for Unicode string comparisons
From: |
Bruno Haible |
Subject: |
Re: new modules for Unicode string comparisons |
Date: |
Fri, 6 Mar 2009 23:43:18 +0100 |
User-agent: |
KMail/1.9.9 |
Pádraig Brady wrote:
> > + /* Compare S1 and S2, ignoring normalization.
>
> "ignoring normalization" is confusing.
Is it more understandable if I say "Compare S1 and S2, ignoring differences
in normalization"?
> I presume you mean "Compare normalized versions of S1 and S2".
That's what it does in the implementation, sure. But the wording should be
more abstract.
> > + NF must be either UNINORM_NFD or UNINORM_NFKD.
>
> Does it have a functional difference to the result which the
> user chooses.
Yes, sure. If nf == UNINORM_NFD, differences in canonical composition/
decomposition are ignored. If nf == UNINORM_NFKD, compatibility equivalences
are also considered.
Bruno