Unicode strings differ in length in various languages (2019) (hsivonen.fi) 2 points by mjakl 3y ago ↗ HN
[–] rurban 3y ago ↗ He is still a bit confused about length vs size. length should return the length (either the count of grapheme clusters or codepoints), and size should return the count of bytes.
1 comment
[ 3.3 ms ] story [ 14.1 ms ] thread