◄Function Group► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINCOUNTRY UCHAR WinCpTranslateChar(hab, cpSrc, chSrc, cpDst) HAB hab; /* handle of the anchor block */ USHORT cpSrc; /* code page of source string */ UCHAR chSrc; /* character to be translated */ USHORT cpDst; /* code page of resultant string */ The WinCpTranslateChar function translates a character from one code page to another. Parameter Description ──────────────────────────────────────────────────────────────────────────── hab Identifies the anchor block. cpSrc Specifies the code page of the source string. chSrc Specifies the character to be translated. cpDst Specifies the code page of the resultant string. Return Value The return value is the translated character. If a match for this character is not found, 0xFF is returned. See Also WinCpTranslateString ♦