Module Uunf_string
Unicode text normalization on UTF-X OCaml strings.
Uunf
functions acting directly on UTF-X encoded OCaml strings.
Warning. All these function silently replace malformed encoded Unicode data by a Uutf
.u_rep character.
v11.0.0 — Unicode version 11.0.0 — homepage
Normalize
val normalize_utf_8 : Uunf.form -> string -> string
normalize_utf_8 nf s
is the UTF-8 encoded strings
in normal formnf
.
val normalize_utf_16be : Uunf.form -> string -> string
normalize_utf_16be nf s
is the UTF-16BE encoded strings
in normal formnf
.
val normalize_utf_16le : Uunf.form -> string -> string
normalize_utf_16le nf s
is the UTF-16LE encoded strings
in normal formnf
.