I encounted the same sitution. But at least, under windows, there is a pair of APIs: WideCharToMultiByte and MultiByteToWideChar, so problem is partial solved.
But all in all, please as far as possible to improve mbstowcs / wcstombs and others wchar_t function.
By the way: Pelle's C compiler is really very small, very easy to use.