Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If unnormalized data is found, should an exception be raised, or the data be normalized forthwith, or only if necessary?

0
Posted

If unnormalized data is found, should an exception be raised, or the data be normalized forthwith, or only if necessary?

0

All user-level comparison should behave as if it normalizes the input to NFC. For example, the Unicode Collation Algorithm does that. Most binary character matching that affects users should also behave as if it normalizes the input to NFC. Because it is rare to have non-NFC text, an optimized implementation can do such comparison very quickly.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123