How do I set the code page to UTF-8 in a C Windows program?
I have a third party library that uses fopen to open files. I can use wcstombs to convert my Unicode fi
Use cygwin (which provides a UTF-8 locale by default), or write your own libc hack for Windows that does the necessary UTF-8 to UTF-16 translations and wraps the nonstandard _wfopen etc. functions.
_wfopen