package uutf

All checked builds pass
  1. Overview
  2. Docs
Non-blocking streaming Unicode codec for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uutf-1.0.4.tbz
sha512=e35f408bc971cd8da3077e6c3321e0d8f4eb569898e0e219fde62dae78fbd0a0095cb7f036287656f6a1b346584f7b9f0c6dec0a5a092180da36e43247027598

Description

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 [bytesrw] package.

Tags

unicode text utf-8 utf-16 codec org:erratique

Added to opam-repository:

README

Uutf — Non-blocking streaming Unicode codec for OCaml

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 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.

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

Home page: http://erratique.ch/software/uutf

Installation

Uutf can be installed with opam:

opam install uutf

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation can be consulted online or via odig doc uutf.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Dependencies (4)

  1. topkg build & >= "1.0.3"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.08.0"

Dev Dependencies

None

Optional Dependencies (1)

  1. cmdliner

Used by (94)

  1. alcobar
  2. alcotest >= "1.5.0"
  3. bcfg
  4. cascade < "1.2.0"
  5. catala >= "0.8.0" & < "1.0.0~beta"
  6. chamo
  7. ciao_lwt
  8. coin < "0.1.2"
  9. conan
  10. confero
  11. containers
  12. containers-thread
  13. crowbar
  14. csvtool
  15. diffast-misc = "0.3.5.1"
  16. dkml-workflows
  17. dolmen_type
  18. dotenv
  19. dune >= "3.21.0"
  20. ecaml >= "v0.17.0"
  21. embedded_ocaml_templates
  22. emile
  23. emoji >= "2.0.0"
  24. ezjsonm >= "1.3.0"
  25. grace >= "0.2.0" & < "0.4.1"
  26. granary
  27. hvsock >= "2.0.0"
  28. inquire = "0.2.1" | >= "0.3.1"
  29. iri
  30. irmin >= "2.7.1"
  31. irmin-bench
  32. jingoo
  33. jsonm
  34. jupyter-kernel
  35. learn-ocaml
  36. linol >= "0.10"
  37. lsp
  38. lwt_ppx_to_let_syntax
  39. markup
  40. matita
  41. mrmime
  42. multipart_form
  43. nomad
  44. notty
  45. notty-community
  46. nx-text
  47. ocaml-lsp-server >= "1.10.5" & < "1.18.0"
  48. ocamlformat < "0.25.1"
  49. ocamlformat-lib
  50. ocamlformat-mlx-lib
  51. ocamlformat-rpc < "0.21.0"
  52. ocamlmig
  53. omd >= "2.0.0~alpha3"
  54. opam-core >= "2.2.0"
  55. opine
  56. otfm
  57. otoml
  58. owi
  59. pecu < "0.2"
  60. printbox >= "0.3" & < "0.6"
  61. printbox-text
  62. progress >= "0.2.0"
  63. quickjs >= "0.2.0" & < "0.4.1"
  64. rdf
  65. repr
  66. rosetta < "0.3.0"
  67. saga
  68. server-reason-react >= "0.4.1"
  69. slug
  70. solidity-typechecker
  71. stem
  72. stk
  73. stog >= "0.17.0"
  74. stringCodepointSplitter
  75. stringx
  76. symphony-orchestrator-tui
  77. termaid
  78. terminal
  79. terml
  80. textutils >= "v0.15.0"
  81. textutils_kernel >= "v0.15.0"
  82. tty
  83. tw
  84. tyxml >= "4.2.0"
  85. tyxml-syntax
  86. ubase < "0.20"
  87. ufind
  88. unstrctrd
  89. uucp < "16.0.0"
  90. uuuu < "0.2.0"
  91. xlsx2csv
  92. xtmpl >= "0.18.0"
  93. yuscii
  94. zed >= "3.2.0"

Conflicts (1)

  1. cmdliner < "1.3.0"

Build status

Results of building uutf with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.0.4 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure