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 (95)

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