Windows port for __codecvt_utf8<wchar_t>.