Uunf is an OCaml library for normalizing Unicode text. It supports all
Unicode normalization forms. The library is independent from any
IO mechanism or Unicode text data structure and it can process text
without a complete in-memory representation.
Uunf has no dependency. It may optionally depend on Uutf for
support on OCaml UTF-X encoded strings. It is distributed under the
Home page: http://erratique.ch/software/uunf
Uunf can be installed with
opam install uunf opam install uutf uunf # for support on OCaml UTF-X encoded strings
If you don't use
opam consult the
opam file for build
instructions and a complete specification of the dependencies.
The documentation and API reference can be consulted online or
odig doc uunf.
If you installed Uuseg with
opam sample programs are located in
opam config var uuseg:doc.
A few test programs are in the
test directory of the distribution.
test.nativetests the library with the Unicode Normalization Test
file available from:
Nothing should fail.
test_string.nativetests the UTF-X OCaml string support.
dev & >= "15.0.0" & < "16.0.0"
build & >= "1.0.3"