3 ms·
One of my favourite ones in the post I linked is the "ff" ligature. It uppercases to "FF", meaning in UTF-8 it goes from one encoded character to two, and from 3
by Rendello 22d ago
One of my favourite ones in the post I linked is the "ff" ligature. It uppercases to "FF", meaning in UTF-8 it goes from one encoded character to two, and from 3 bytes total to 2 bytes total.
Lots to read about here for those interested (and that's without getting into `Casefold`, `NFKC_Casefold`, simple vs complex case mappings, the CLDR, etc.):
https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-5/#G21180 https://www.unicode.org/versions/Unicode17.0.0/core-spec/cha...