Ben Caradoc-Davies (2018-04-04): > What is the length of a > string?
When is that relevant? > Are you trying to count the number of glyphs? What for? > I do not think that > you can do this by naïvely counting code points, regardless of encoding. Fortunately, this is almost never useful. > Because there is more than one way to represent an accented character, > Unicode string comparison is nontrivial: Fortunately, it is also rather rarely useful in all that complexity. Regards, -- Nicolas George
signature.asc
Description: Digital signature