Hi, I was trying to convert the Latin small letter e with acute (é) into uppercase with the default 'C' locale using the following code:
std::setlocale <http://en.cppreference.com/w/cpp/locale/setlocale>(LC_ALL <http://en.cppreference.com/w/cpp/locale/LC_categories>, "C"); wchar_t upperChar = std::towupper(L'é') Using Visual Studio, I get back the lowercase character é but with Emscripten, I get the uppercase É when I inspect the hex value of upperChar. This comes as a surprise to me because my understanding is that the default 'C' locale does not support extended ASCII so the Visual Studio behaviour seems to be correct for this case. Is my understanding correct and how did Emscripten manage to do the uppercase conversion even though the locale is still the default 'C' locale? Thanks. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
