Try to extract a character from a byte string. Returns Nothing
if there are no more bytes in the byte string. Otherwise, it returns a
decoded character and the number of bytes used in its representation.
Errors are replaced by character '\0xFFFD'.
Try to extract a character from a byte string. Returns Nothing
if there are no more bytes in the byte string. Otherwise, it returns a
decoded character and the number of bytes used in its representation.
Errors are replaced by character '\0xFFFD'.
Try to extract a character from a byte string. Returns Nothing
if there are no more bytes in the byte string. Otherwise, it returns a
decoded character and the number of bytes used in its representation.
Errors are replaced by character '\0xFFFD'.
Extract the first character for the underlying representation, if one
is available. It also returns the number of bytes used in the
representation of the character. See also uncons.
Decode a string using decode using a String as input.
This is not safe but it is necessary if UTF-8 encoded text has been
loaded into a String prior to being decoded.