News for hackers. Stuff that matters.
Re:You can't just assume UTF-8 by singpolyma3 on Tuesday April 30, 2024 @09:47AM (#40210920)
Don't you want grapheme clusters for cursor positions?

Length in encoded form can be found after encoding by checking the length of the binary content I guess.

I think for historical reasons access to codepoints can be useful, but it's rarely what one wants.

There are no comments on this comment yet.