String Character Length: Difference between revisions

Content deleted Content added
XSLT
No edit summary
Line 1: Line 1:
{{task}}
{{task}}
{{Template:split-review}}
{{Template:split-review}}
In this task, the goal is to find the <em>character</em> length of a string. This means encodings like [[UTF-8]] need to be handled properly, as there is not necessarily a one-to-one relationship between bytes and characters. (For example, in UTF-8 the character length of "møøse" is 5 but the byte length is 7.)
In this task, the goal is to find the <em>character</em> length of a string. This means encodings like [[UTF-8]] need to be handled properly, as there is not necessarily a one-to-one relationship between bytes and characters.


For byte length, see [[String Byte Length]].
For byte length, see [[String Byte Length]].