Is there a generic UTF-8 locale?
I tried "en_US.UTF8" (and "en_US.UTF-8" ) but they seem to not be working on MinGW (runtime_error thrown as stated when the locale is not available).
Windows doesn't support Unicode in C or C++, except through non-standard APIs or where required by the C++11 standard (std::codecvt_utf8 and friends). So no UTF-8 locales.
"Good" to know.
Is there any suggested way to convert from X locale to UTF-8, or should I walk my way through the stuff missing from MinGW about locales?