Functions |
|
static UINT | NormalizeCP (UINT code) |
Normalize the code page. |
|
static UINT | CommonLosslessCP (UINT codepage1, UINT codepage2) |
Gets a common code page. |
|
UINT | CommonLosslessCP (MaxString &) |
Gets a common code page. |
static UINT NormalizeCP | ( | UINT | code | ) | [static] |
Normalize the code page.
Will resolve encoding aliases and returns their meaning.
code | - The code page value to convert. CP_ACP (Active Code Page), returns GetACP(). CP_OEMCP (BIOS's Code Page), returns GetOEMCP(). CP_MACCP CP_THREAD_ACP (Current thread's Code Page). Calls GetLocaleInfo(). |
static UINT CommonLosslessCP | ( | UINT | codepage1, |
UINT | codepage2 | ||
) | [static] |
Gets a common code page.
Determine the ideal intermediate codepage between two others to perform operation like string compare, string concatenate, etc.
UINT CommonLosslessCP | ( | MaxString & | ) |
Gets a common code page.
Determine the ideal intermediate codepage between this MaxString and another one.