In my MFC application I am reading Japanese characters from string table then converting it into multibyte using following code
WCHAR wBuf[1024];
int rc;
rc = LoadStringW(hInstance, iResourceID, wBuf, 1024);
WideCharToMultiByte(1252, WC_COMPOSITECHECK, wBuf, -1, buf, 1024, NULL, NULL);
But every Japanese character is converted into '????' I tried to change the codepage from 1252 to 1200 but no help.