News for hackers. Stuff that matters.
Re:Unicode sorting is hard and why browsers added special em... by Svip on Monday June 28, 2021 @01:09AM (#27658321)
Like "Aalborg" being after "Zaragoza" in a Danish sorting. And that's more tricky with "aa" being treated as a single character in Danish.
Re:Unicode sorting is hard and why browsers added special em... by noctune on Monday June 28, 2021 @02:07AM (#27658618)
This leads to fun things like the regex [a-z][a-z] not matching the string "aa" in SQL Server when using the Danish collation.
Re:Unicode sorting is hard and why browsers added special em... by 3np on Monday June 28, 2021 @01:57AM (#27658566)
Aalborg is one of very few exceptions that even in Danish can commonly be spelled with “aa” as a replacement for “å” (the single character).

Just like ae for æ.

Re:Unicode sorting is hard and why browsers added special em... by Svip on Monday June 28, 2021 @02:20AM (#27658678)
Unfortunately, the exceptions only appear in names and proper nouns, which are where you generally want sorting the most.