The Locale Explorer: GetCPInfo(Ex) |
|
This shows the information about a selected code page.
This page shows the use of GetCPInfo and, as illustrated above, GetCPInfoEx. In addition to selecting a specific code page (as illustrated above--page 850), either the GetACP(), or GetOEMCP() calls could be used, or the special constants CP_ACP, CP_OEMCP, CP_MACCP, or CP_THREAD_ACP. The information in a CPINFO structure or, as shown above, the CPINFOEX structure, is displayed. For an alternative view of this information, which shows one CPINFOEX per line for each code page, see the description of EnumSystemCodePages.
The views expressed in these essays are those of the author, and in no way represent, nor are they endorsed by, Microsoft.