2 ms·
Rusts graphemes.count sounds nice. In C land it is called ucwidth (libunistring). Length is too arbitrary. Byte? Unicode points? Utf-8 length?
by rurban 6y ago
Rusts graphemes.count sounds nice.
In C land it is called ucwidth (libunistring).
Length is too arbitrary. Byte? Unicode points? Utf-8 length?