Call this function before game starts and ToUpper() will work correctly:
`
#include locale
void SetGlobalLocale(const FString aLocale)
{
std::locale::global(std::locale(TCHAR_TO_UTF8(*aLocale)));
}
`
Add the symbols “<” and “>” around the “locale” word in include.
Here are examples of valid locales:
"en-US" "ru-ru" "fr-fr" "es-es" "de-de" "zh-cn"