how to get the \uxxxx unicode code from a char

jicman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 14 12:46:57 PDT 2014


Greetings.

Imagine this code,

char[] s = "ABCabc";
foreach (char c; s)
{
   // how do I convert c to something an Unicode code? ie. \u9999.

}

thanks.


More information about the Digitalmars-d-learn mailing list