-1

My target is to print euro sign - € in c++ application in Windows. Methods that already tried and did not working are:

#include <windows.h>
SetConsoleOutputCP(1252);
cout << "\u20a0";

also "\u20a0" did not working and without SetConsoleOutputCP(). No working solution by far. So much forums and questions, and no straight answer....

IntoTheDeep
  • 4,027
  • 15
  • 39
  • 84

1 Answers1

2

This worked for me

SetConsoleOutputCP(1252);
cout << (char)(128);
Moshe D
  • 768
  • 1
  • 4
  • 13