ANSI - output with phobos

me me at nospamusa.com
Tue Apr 3 17:15:06 PDT 2007


for(char c = 0; c < c.max; c++)
    writefln(c);

In a not too distant past the above code could produce the entire ANSI table, however this is not the case today. Today it peters out at 127 and any code beyond that cannot be desplayed. The error message produced is:

  Error: 4invalid UTF-8 sequence

Please provide some guidance on how to accomplish this in present D.

Thanks,
Drew


More information about the Digitalmars-d-learn mailing list