News for hackers. Stuff that matters.
Re:UTF-8 String Indexing Strategies by scatters on Thursday May 30, 2019 @09:08AM (#20050758)
If you want to navigate a string, you should stop "inside" compatibility ligatures (fi, U+FB01 being the canonical example).
Re:UTF-8 String Indexing Strategies by lifthrasiir on Thursday May 30, 2019 @11:17AM (#20052085)
That is why default grapheme clusters only concern boundaries aligned with "starters" or base characters (and thus are preserved after canonical normalizations). U+FB01 is only compatibly decomposable and harder to deal efficiently.