unixcp unit
Code Page name to number conversions.
The unixcp unit provides routines to handle mapping of code page names to numerical values as used in libiconv>.
The GetCodepageByName function is the main function for this. The GetCodepageData can be used to map
a code page number to a name. These function can be used for instance to map code page information in environment variables to
code page numbers used in string encodings. The supported code page names are the ones commonly in use in libiconv.
This unit is used for example in unit cwstring.
Classes and records
TUnixCpData | record | Structure to map code page number to name. |
Procedures and functions
GetCodepageByName | function | Find code page by name. |
GetCodepageData | function | Return index of codepage. |
GetSystemCodepage | function | Return the system code page based on the program environment. |
Constants
UnixCpMap | constant | Map with codepage names. |
UnixCpMapLimit | constant | Number of code pages in map UnixCpMap. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
