Hi everyone. I can’t get rid of the bad encoding in the MinGW compiler for Windows. The language of writing C code, the output is some kind of game. 
Unfortunately, the method with Fallback_encoding did not help. The compiler continues to create what he wants. The path to the Cyrillic project does not contain.
The source code of the project itself :
#include <stdio.h> #include <stdlib.h> int main () { char card_name[3]; puts("Введите название карты: "); scanf("%2s", card_name); int val = 0; if (card_name[0] == 'K') { val = 10; } else if (card_name[0] == 'Q') { val = 10; } else if (card_name[0] == 'J') { val = 10; } else { atoi(card_name); } printf("Ценность карты: %i\r\n:", val); return 0; } 