I'm having trouble printing Korean. I tried various methods to no avail. I tried
one.
cout << "νκΈ" << endl;
2.
wcout << "νκΈ" << endl;
3.
wprintf(L"νκΈ\n");
4.
setlocale(LC_ALL, "korean"); wprintf("νκΈ");
and much more. But all these prints are Γ β’ ΕΓͺΒΈ. I am using the MinGW compiler, and my OS is Windows 7.
PS Strange Java prints Korean fine,
String kor = "νκΈ"; System.out.println(kor);
working.
c ++
user3879095
source share