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

getmap

Find a codepage map

Declaration

Source position: charset.pp line 76

function getmap(

  const s: string

):punicodemap;

function getmap(

  cp: Word

):punicodemap;

Arguments

s

  

Name of code page to search

Function result

Pointer to requested code page mapping.

Arguments

cp

  

Numerical identifier of code page to search

Description

getmap looks in the registered codepage mappings and returns the mapping for the requested codepage. The codepage can be specified using a name s or a numerical identifier cp. The search is case sensitive.

Errors

if the requested map is not found, Nil is returned.

See also

registermapping

  

Register mapping

registerbinarymapping

  

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

mappingavailable

  

Check if a mapping is available for a specified code page.


Documentation generated on: Nov 16 2015