[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'charset' (#rtl)

registerbinarymapping

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

Declaration

Source position: charset.pp line 75

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

loadbinaryunicodemapping

  

Load binary single-byte codepage to Unicode map from file or memory

registermapping

  

Register mapping


Documentation generated on: May 14 2021