How to print Chinese characters in console in window XP?

Sam Hu samhudotsamhu at gmail.com
Sat Jun 27 02:53:45 PDT 2009


In DMD2030 I just found that Chinese characters the like can not print properly into console.

//Below code does not show output properly in windows console:
void main()
{
wstring country="Öйú";
writefln(country);
}



Is this an OS issue or is there any way to reach the goal?

Thanks in advance.


More information about the Digitalmars-d-learn mailing list