UTF escape

Brad Anderson eco at gnuk.net
Wed Mar 13 15:05:32 PDT 2013


On Wednesday, 13 March 2013 at 21:59:54 UTC, Stephen Jones wrote:
> Html has &#xxx to access fonts at xxx, does D have something 
> similar?
>
> writeln("a");
>
> to
>
> writeln(&#097);
>
> Thanks.

What Andrej said or you can use the unicode escapes (they are in 
hexadecimal):

writeln("\u0061");


More information about the Digitalmars-d-learn mailing list