Konwertuj wchar_t na multibyte
const wchar_t* input = L"Hello World";
const size_t SIZE = 256;
char result[SIZE];
int resultSize = wcstombs(result, input, SIZE);
Neil Cantorne