Convert UTF-8 to wchar_t
I need to convert a string from UTF8 to wide character (wchar_t *). I
perform the same in windows using:
MultiByteToWideChar(CP_UTF8, 0, pInput, -1, , nLen);
What API can be used on linux or common API which will work on windows/linux ?
Thanks,
Navin
|