On Sunday, 21 September 2014 at 03:00:34 UTC, Charles McAnany wrote:
writefln("%c", '/U0001F0A1'+1); //

The problem here is just that arithmetic converts everything back to integers and writefln is a bit picky about types. You can print it though by casting it back to dchar:

        writefln("%c", cast(dchar)('\U0001F0A1'+1));

My fonts don't support these chars but it should print out if you do that.

Reply via email to