package uutf

  1. Overview
  2. Docs
Non-blocking streaming Unicode codec for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

uutf-1.0.4.tbz
sha512=e35f408bc971cd8da3077e6c3321e0d8f4eb569898e0e219fde62dae78fbd0a0095cb7f036287656f6a1b346584f7b9f0c6dec0a5a092180da36e43247027598

doc/index.html

Uutf v1.0.4

Warning. You are encouraged not to use this library.

  • As of OCaml 4.14, both UTF encoding and decoding are available in the standard library, see the String and Buffer modules.
  • If you are looking for a stream abstraction compatible with effect based concurrency look into the bytesrw package.

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.

Library uutf

  • Uutf Non-blocking streaming Unicode codec.
OCaml

Innovation. Community. Security.

On This Page
  1. Library uutf