The GetACP function retrieves the current ANSI code-page identifier for the system.
UINT GetACP(VOID)
This function has no parameters.
The return value is the current ANSI code-page identifier for the system, or a default identifier if no code page is current.
Following are the ANSI code-page identifiers:
Identifier |
Meaning |
874 |
Thai |
932 |
Japan |
936 |
Chinese (PRC, Singapore) |
949 |
Korean |
950 |
Chinese (Taiwan, Hong Kong) |
1200 |
Unicode (BMP of ISO 10646) |
1250 |
Windows 3.1 Eastern European |
1251 |
Windows 3.1 Cyrillic |
1252 |
Windows 3.1 Latin 1 (US, Western Europe) |
1253 |
Windows 3.1 Greek |
1254 |
Windows 3.1 Turkish |
1255 |
Hebrew |
1256 |
Arabic |
1257 |
Baltic |