An ocaml library that implements a WTF-8 encoder and decoder.
Browse cluster: Cluster 88 →ocaml-wtf8 is an OCaml library that implements encoding and decoding for WTF-8, a superset of UTF-8 that permits unpaired surrogates. WTF-8 addresses a character encoding problem that arises when ECMAScript strings containing ill-formed UTF-16 code unit sequences are converted to UTF-8, resulting in similarly ill-formed UTF-8 sequences. The library is MIT licensed.