uutf

AuthorDaniel Bünzli <daniel.buenzl i@erratique.ch>
LicenseISC
Homepagehttp://erratique.ch/software/uutf
Issue Trackerhttps://github.com/dbuenzli/uutf/issues
Tagsunicode, text, utf-8, utf-16, codec and org:erratique
MaintainerDaniel Bünzli <daniel.buenzl i@erratique.ch>
Dependencies
&ocamlbuild
ocamlfind
topkg
uchar
Optional dependencies
cmdliner
Availableocaml-version >= "4.01.0"
PublishedMar 7, 2017
Source [http] http://erratique.ch/software/uutf/releases/uutf-1.0.1.tbz
b8535f974027357094c5cdb4bf03a21b
StatisticsInstalled 1390 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/uutf/uutf.1.0.1/opam

Non-blocking streaming Unicode codec for OCaml

Uutf is a non-blocking streaming codec to decode and encode the UTF-8, UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently work character by character without blocking on IO. Decoders perform character position tracking and support newline normalization.

Functions are also provided to fold over the characters of UTF encoded OCaml string values and to directly encode characters in OCaml Buffer.t values.

Uutf has no dependency and is distributed under the ISC license.