sig
  type text
  val decode :
    CharEncoding.Interface.t -> string -> CharEncoding.Interface.Type.text
  val encode :
    CharEncoding.Interface.t -> CharEncoding.Interface.Type.text -> string
end