ANSI - output with phobos
me
me at nospamusa.com
Tue Apr 3 17:26:49 PDT 2007
me Wrote:
> 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
First let me apologize for the double post.
I am aware that printf() can still be used to achieve the desired result. However, I’m interested in accomplishing this through writef()/writefln();
Thanks again,
Drew
More information about the Digitalmars-d-learn
mailing list