3 ms·
Unicode strings differ in length in various languages (2019)
- rurban 4y agoHe 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.