uutfversion

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. Note that since OCaml 4.14, that functionality can be found in the Stdlib and you are encouraged to migrate to it.

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

Home page: http://erratique.ch/software/uutf
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

Tags unicode text utf-8 utf-16 codec org:erratique
AuthorThe uutf programmers
LicenseISC
Published
Homepagehttps://erratique.ch/software/uutf
Issue Trackerhttps://github.com/dbuenzli/uutf/issues
MaintainerDaniel Bünzli <daniel.buenzl i@erratique.ch>
Dependencies
Optional dependencies
Conflicts
Source [http] https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz
sha512=50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/uutf/uutf.1.0.3/opam
Optionally used by