News for hackers. Stuff that matters.
Re:You can't just assume UTF-8 by extraduder_ire on Tuesday April 30, 2024 @07:03AM (#40209619)
> I've never run into a problem where the difference between NFC and NFD mattered. (Do you have an example?)

The main place I've seen it get annoying is searching for some text in some other text. Unless you normalize the data you're searching through the same way as you normalize your search string.

Re:You can't just assume UTF-8 by josephg on Tuesday April 30, 2024 @09:06AM (#40210601)
After reading the above comment I went looking for Unicode documentation talking about the different normalisation formats. That was a point I read that surprised me because I hadn’t ever thought of it. They said search should be insensitive to normalisation form - so generally you should normalise all text before running a search.

That’s a great tip - obvious in hindsight but one I’d never considered.