wtf8

Encoder and decoder for WTF-8
README

WTF-8 is a superset of UTF-8 that allows unpaired surrogates.

From ES6 6.1.4, "The String Type":

If we try to encode these ill-formed code units into UTF-8, we similarly
get ill-formed UTF-8. WTF-8 is a fun name for that encoding.

https://simonsapin.github.io/wtf-8/

License

ocaml-wtf8 is MIT licensed, as found in the LICENSE file.

Install
Sources
wtf8-v1.0.2.tbz
sha256=779ff72940405918fcb67b6be11909ef82965bbc2f9ff07f9b59f1d27a67cf27
sha512=fc1201d2178daaebb2f87d47c7b7c9bde06560d70e75fee9c6f741f7348500eaa0850c852847fc7435054cc2de7aa80643174002cb5389483f0fa49dab6e634f
Dependencies
dune
>= "1.0"
ocaml
>= "4.01.0"
Reverse Dependencies
flow_parser
>= "0.62.0"
flowtype
>= "0.62.0"