module Netunidata:sig..end
Netconversion module implements the conversion between
various character sets. By default, this module knows only a few
built-in characters sets (in particular ISO-8859-1 and US-ASCII).
Conversions to other character sets can be enabled by linking in
the netunidata library.
There are two options to load the required tables. First, the table can be linked with the executable (static table). Second, the table can be loaded at runtime when needed (dynamic table).
For getting static tables, just specify one or several of the following findlib packages:
Netunidata.disable.
If you want to load all tables dynamically, just specify this package:
val load : string -> unitload key: Loads the table for this key, if not already loaded or
statically linked in. The key is the internal name of the mapping
table (e.g. "cmapf.koi8r")val load_charset : Netconversion.charset -> unitload_charset enc: Loads the forward and backward mapping tables for
this charset.val enable : unit -> unitval disable : unit -> unitval net_db_dir : unit -> stringval set_net_db_dir : string -> unit