OCaml module to convert strings to and from various encodings
