Re:Unicode is harder than you think
by eviks on Wednesday July 26, 2023 @05:51AM
(#36875155)
Count by grapheme clusters and stop right before it exceeds the limit?
[ Parent
| on HN ]
Isn't that the length of the string? Also there are various things about Unicode that make doing this "right" for an input much harder than it sounds.