www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Tango can do it(OT:how to print Chinese font in console in windows)

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;
}
Jun 30 2009