News for hackers. Stuff that matters.
Re:How UTF-8 Works by account42 on Wednesday February 09, 2022 @06:27AM (#30271446)
> and the number of rendered grapheme clusters

This is also rarely useful unless you are working with a monospace font where all grapheme clusters have the same width, which is probably none if you support double-width characters. More likely what you are interested in is the display length with a particular font or column count with a monospace font.

There are no comments on this comment yet.