bug-gnulib
[Top][All Lists]
Advanced

[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: Sat, 7 Mar 2009 00:02:57 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Bruno Haible wrote:
> 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"?

better, thanks.

> 
>> 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.

Oops I read NFKD as NFC :p

cheers,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]