package metadata

  1. Overview
  2. Docs

Module Metadata.CharEncodingSource

Functions for handling charset conversion.

Charset conversion.

Sourcetype recode = ?source:[ `ISO_8859_1 | `UTF_8 | `UTF_16 | `UTF_16LE | `UTF_16BE ] -> ?target:[ `UTF_8 | `UTF_16 | `UTF_16LE | `UTF_16BE ] -> string -> string

Type of functions for converting charset.

Sourcemodule type T = sig ... end

Type of modules for specifying charset conversion.

Sourcemodule Naive : T

Basic charset conversion. The conversion routine implemented in this module is not able to detect encoding. We recommend using a library such as camomile for a more complete solution.

OCaml

Innovation. Community. Security.