| [Overview][Constants][Types][Procedures and functions][Index] | 
Find code page by name
Source position: unixcp.pp line 637
| function GetCodepageByName( | 
| cpname: RawByteString | 
| cpname | 
 | Name of code page. | 
Code page number corresponding to cpname or CP_NONE if none found.
GetCodepageByName returns the code page number matching cpname. The supported code page names are the ones commonly in use in libiconv. Names are searched case-sentively, with the exception that 'cpN' is converted to 'CPN', where N is a digit.
If no matching code page name is found, CP_NONE is returned.
| 
 | Map with codepage names. | |
| 
 | Return the system code page based on the program environment. | |
| 
 | Return index of codepage. |