Tango can do it(OT:how to print Chinese font in console in windows)

Sam Hu samhudotsamhu at gmail.com
Tue Jun 30 19:56:24 PDT 2009


Hello,

Just found under DMD1.043_+Tango0.998 I can print Chinese font in console in Windows XP without  any extra effort except just saving in Unicode or UTF-8:

module test;
import tango.io.Stdout;
import tango.io.Console;

int main(char[][] args)
{
Stdout.formatln("{}","Öйú");//It works!
Cin.get();

return 0;
}




More information about the Digitalmars-d-learn mailing list