| [Overview][Constants][Types][Procedures and functions][Index] | 
Return the system code page based on the program environment.
Source position: unixcp.pp line 638
| function GetSystemCodepage: TSystemCodePage; | 
Detected code page, or system default if no system found.
GetSystemCodepage returns the system code page, based on one of the environment variables LC_ALL, LC_CTYPE or LANG. The first non-empty variable (in the order mentioned here) is used.
If none is found, then a system default is used: Linux and Darwin use CP_UTF8, others use CP_ASCII.
| 
 | Map with codepage names. | |
| 
 | Return the system code page based on the program environment. | |
| 
 | Find code page by name |