uutf
Non-blocking streaming Unicode codec for OCaml

Install

Authors

Maintainers

Sources

uutf-1.0.2.tbz
md5=a7c542405a39630c689a82bd7ef2292c

Description

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.