I'm trying to make chess in a console application, and at the moment im just using letters to represent the pieces. I seen that in the utf-8 charecter set, you can find actual chess pieces, but im having some trouble printing them.
After looking on the net a bit, i have tried
SetConsoleOutputCP(65001);
wcout<<'?'<<endl;
wcout<<'\u2655'<<endl;
in both cases, it's just printing '?'
Anyone here has any idea how this works?
I'm using Visual studio c++ console application.
After looking on the net a bit, i have tried
SetConsoleOutputCP(65001);
wcout<<'?'<<endl;
wcout<<'\u2655'<<endl;
in both cases, it's just printing '?'
Anyone here has any idea how this works?
I'm using Visual studio c++ console application.