Skip to content

registerbinarymapping

Load and register binary single-byte codepage to Unicode map from file.

Declaration

Source position: charset.pp line 77

function registerbinarymapping(const directory: string; 
                              const cpname: string) : Boolean;

Arguments

Name Description
directory Directory to load mapping from.
cpname Code page mapping to load.

Function result

True on success, false on error.

Description

registerbinarymapping calls loadbinaryunicodemapping using directory and cpname and registers the resulting mapping, if any was successfully loaded, using registermapping. It returns True if the operation was successful.

Errors

On error, False is returned.

See also

Name Description
loadbinaryunicodemapping Load binary single-byte codepage to Unicode map from file or memory.
registermapping Register mapping.