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" & ocaml-version < "4.05.0"
PublishedNov 23, 2016
Source [http] http://erratique.ch/software/uutf/releases/uutf-1.0.0.tbz
049059a17f8dcec74183f9912bedb7ea
StatisticsInstalled 15 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/uutf/uutf.1.0.0/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.