Sign in Join
FPDoc Onlineexperiment

registerbinarymapping function

In unit charset

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

Declaration

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

Arguments

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.