package uutf
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=1f364f89b1179e5182a4d3ad8975f57389d45548735d19054845e06a27107877
md5=708c0421e158b390c7cc341f37b40add
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 is made of a single, independent, module and distributed under the BSD3 license.
README
Uutf — Non-blocking streaming Unicode codec for OCaml
Release 0.9.3
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 is made of a single, independent, module and distributed under the BSD3 license.
Home page: http://erratique.ch/software/uutf
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
Installation
Uutf can be installed with opam
:
opam install uutf
If you don't use opam
consult the opam
file for build instructions and a complete specification of the dependencies.
Documentation
The documentation and API reference is automatically generated by ocamldoc
from uutf.mli
. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
Sample programs are located in the test
directory of the distribution. They can be built with:
ocamlbuild tests.otarget
The resulting binaries are in _build/test
:
test.native
tests the library, nothing should fail.utftrip.native
, among other things, reads unicode onstdin
and rewrites it onstdout
. Invoke with-help
for more information.
Dependencies (3)
-
ocamlbuild
build
- ocamlfind
-
ocaml
>= "4.00.0" & < "4.06.0"
Dev Dependencies
None
Used by (48)
-
coin
< "0.1.2"
- conan
- confero
-
containers
>= "2.1"
- containers-thread
- crowbar
- csvtool
- dolmen_type
- dotenv
- embedded_ocaml_templates
-
ezjsonm
>= "1.3.0"
-
grace
>= "0.2.0"
-
hvsock
>= "2.0.0"
- imap
-
inquire
= "0.2.1" | >= "0.3.1"
-
irmin
>= "2.3.0"
-
irmin-bench
>= "2.7.0"
-
jingoo
>= "1.2.13" & < "1.2.21"
-
jsonm
< "1.0.0"
-
jupyter-kernel
>= "0.3"
-
lsp
< "1.10.5"
-
markup
< "0.7.3"
- mrmime
- multipart_form
-
notty
< "0.2.0"
-
ocamlformat
>= "0.9" & < "0.10"
- octez-internal-libs
- octez-libs
-
oidc
< "0.1.1"
-
omd
>= "2.0.0~alpha3"
-
opam-core
>= "2.2.0~alpha"
- opine
-
otfm
< "0.3.0"
- owi
-
pecu
< "0.2"
-
printbox
>= "0.3" & < "0.6"
- repr
-
rosetta
< "0.3.0"
- slug
- stringCodepointSplitter
- tezos-micheline
-
tyxml
>= "3.3.0" & < "4.1.0"
- unstrctrd
-
uucp
>= "2.0.0" & < "15.1.0"
-
uunf
< "0.9.2"
-
uuuu
< "0.2.0"
- yuscii
-
zed
>= "3.2.0"
Conflicts
None