A reminder: if you're going to talk about the "length" of a Unicode string, be precise about what in the fuck you mean!
Do you mean the number of characters?
Of code points? Of UTF-16 code units? Of UTF-8 encoded bytes? Of drawable glyphs?
These all have different answers!