Displaying non UTF-8 8 bit character codes with writefln()

Graham GC
Thu Oct 4 08:04:46 PDT 2007


After searching back a bit further than before I see this was discussed
in April and the answer was to use printf for the 8 bit string.

something like:

writef("elapsed time %.9f", elapsed_time);
printf(" \xB5S\n");

does work, but if anybody has a more elegant solution please let me know.



More information about the Digitalmars-d-learn mailing list