GetCodepageData¶
Return index of codepage.
Declaration¶
Source position: unixcp.pp line 642
function GetCodepageData(cp: TSystemCodePage) : LongInt;
Arguments¶
| Name | Description |
|---|---|
| cp | Code page to search for. |
Function result¶
Index of first entry in UnixCpMap or -1.
Errors¶
If no matching code page is found, -1 is returned.
See also¶
| Name | Description |
|---|---|
| UnixCpMap | Map with codepage names. |
| GetSystemCodepage | Return the system code page based on the program environment. |
| GetCodepageByName | Find code page by name. |