std.utf8
Methods for working with UTF-8 scalars and code point.
Constants
MAX_CODEPOINT | The maximum value of a Unicode code point |
Methods
codepoint_from_surrogates | Returns a Unicode code point from a pair of Unicode surrogates. | |
codepoint_size | Returns the number of bytes of a code point. | |
encode_scalar | Encodes a Unicode scalar value into a series of bytes, appending these to the
given | |
surrogate? | Returns | |
valid_scalar? | Returns |