I wrote a program using printfs() of "é" or "à" compiling with MinGW 4.9.1, I was using
setlocale(LC_CTYPE, "fra");
to display these characters and it worked well
However when I compile the same program with MinGW 11.2 the accents are displayed this way : "é" "Ã"
I tried with setlocale(LC_ALL, "");
and it doesn't work either
Does anyone have a solution?