https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111244
--- Comment #2 from Thiago Macieira <thiago at kde dot org> --- (In reply to Andrew Pinski from comment #1) > Except the code page could be tuned via a manifest file even. > For an example GCC embeds a manifest into its own compiler to work around > this issue and just use UTF8 always. > > So ... Indeed, but won't MultiByteToWideChar() adapt to that and correctly convert from UTF-8 to UTF-16?