Re: [charmod-norm] Normalisation for Case-Insensitive Comparison (#172)

It's still not clear to me that performing NFD before case-folding is necessary for compatibility reasons and probably slower than using NFC.  At least in on one mailing list discussion on the normalization of filenames, it was the consensus that NFC should be used as it is faster in practice (since most text is in NFC form).

Either way, it would be wise to ask Unicode to clarify the standard, as the wording "if and only if" is logician speak for **requiring** that **exact** series of steps, which would make the current `NFC(casefold(NFD(c))` incompatible with the Unicode caseless matching standard.  I don't think this would be the case in practice, but given the further complications outlined in NFKC and NFKD matching, you really should check to make sure.

-- 
GitHub Notification of comment by indolering
Please view or discuss this issue at https://github.com/w3c/charmod-norm/issues/172#issuecomment-726373827 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 12 November 2020 22:18:33 UTC