Module type Interfaces.CHAR_ENCODER

Encoder for unicode characters.

type t = Stdlib.Uchar.t
val to_internal : t -> string

Internal representation in Ocaml is utf-8

val to_external : t -> string

The external representation in the corresponding encoding.