UTF8
1 functionReading a String as UTF-8 text rather than bytes. Everything else on
strings counts bytes; codePoints is how to walk a string's
characters.
At a glance
Functions
codePoints
A string's code points, in order: cut on UTF-8 code-point boundaries, not
on bytes or grapheme clusters. Decoding is structural. A byte that does not
start a complete, well-formed sequence is a code point of its own, 0 … 255, and a well-formed sequence that is not a scalar value (an overlong
form, a surrogate) is its assembled value.