storm-engine
storm-engine copied to clipboard
Need to case-convert non-ascii text
LegacyDialog needs to convert the character name to uppercase.
Currently it is using std::toupper
but this does not work correctly with non-ascii (i.e. Russian) characters.
Greetings @Hammie, I was trying to help with this case, but since i am a begginer in this progamation stuff, i couldn't properly test my ideas and my reasoning (mainly because I couldn't clone the code).
I think i was going to the right way and found people with some similar problems. So i am leaving here an interesting find that i made that may help u (blog): http://archives.miloush.net/michkap/archive/2008/03/18/8306597.html