storm-engine icon indicating copy to clipboard operation
storm-engine copied to clipboard

Need to case-convert non-ascii text

Open Hammie opened this issue 1 year ago • 1 comments

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.

Hammie avatar Jul 22 '22 08:07 Hammie

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

AquillaAugusto avatar Nov 24 '22 22:11 AquillaAugusto