I am making a program that reads from a file that has characters from two different alphabets (Cyrillic and German). However, when printed to the terminal, ö, ä and ü come out as ?.
So far, I have tried:
- using
system("chcp 1251")
- changing the encoding of the file my program reads from
Is there any way for the program to read the characters from both alphabets? Is there some ‘mixed code page’ I have missed out on?