Uchar.UtfInterface for encoding and decoding individual Unicode scalar values. See String.Utf for working with Unicode strings.
to_string encodes a Unicode scalar value in this encoding.
of_string interprets a string as one Unicode scalar value in this encoding, and raises if the string cannot be interpreted as such.
include Stringable.S with type t := Uchar.tval of_string : string -> Uchar.tval to_string : Uchar.t -> stringval byte_length : Uchar.t -> intReturns the number of bytes used for a given scalar value in this encoding.