Converts a code page number into a code page represented as a UniChar string that is acceptable as input to the UniCreateUconvObject.
#include <uconv.h> ULONG ulCodepage; /* A code page as returned from DosQueryCp. If the value is zero, the current process code page value is used to determine the returned Unicode string. */ UniChar *ucsCodepage; /* A buffer for placing the Unicode string. */ size_t n; /* Size of the ucsCodepage buffer in characters. This should be at least 12 Unicode characters. */ int result; result = UniMapCpToUcsCp(ulCodepage, ucsCodepage, n);