package uunf

  1. Overview
  2. Docs
Unicode text normalization for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

uunf-15.0.0.tbz
sha512=204d923d4e8d910318180c15087fe53d98d8ec0a8d3c3f6c54219e5e09ee5c5bdf57585e5570d895f8d90647c4eeaa45d9e6e75d58edeb9febee053e0dd47fbc

doc/uunf.string/Uunf_string/index.html

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 Stdlib.Uchar.rep character.

Unicode version 15.0.0

Normalize

val normalize_utf_8 : Uunf.form -> string -> string

normalize_utf_8 nf s is the UTF-8 encoded string s in normal form nf.

val normalize_utf_16be : Uunf.form -> string -> string

normalize_utf_16be nf s is the UTF-16BE encoded string s in normal form nf.

val normalize_utf_16le : Uunf.form -> string -> string

normalize_utf_16le nf s is the UTF-16LE encoded string s in normal form nf.

OCaml

Innovation. Community. Security.

On This Page
  1. Normalize