I am building a console application in Dev C++, which does some operations on words that are either input from keyboard or read from files.
It's a very basic program with mostly char arrays and comparison between them.
All it does is compare the char values contained in these words, for example it could ask you for a password to enter the program and then check in a data file if the password is correct.
I have 1 problem with this: I live in Sweden and we use some characters that are non-american, such as å ä ö. The program cannot handle this, instead these characters become strange other things.
I have also seen that é for example, becomes Ú when input into the program.
It seems that every character that the program cannot handle, has a specific character that it becomes instead (as with é above), so it would probably be possible to handle each such character by itself and convert inside the program (that is, if I recieve an é, it becomes an Ù but then I can change it back with error checking inside the program).
But that's quite a bit of work looking up every specific character.
Is there some way to make the program support non-english characters by #include a file or something to do this?
Thanks for your help,