News for hackers. Stuff that matters.
Re:Unicode strings differ in length in various languages (2019) by rurban on Friday October 28, 2022 @08:39AM (#33370611)
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.