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


Reply via email to