Generating Strings with Random Contents

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 14 15:44:17 PDT 2014


On Monday, 14 July 2014 at 22:39:08 UTC, Nordlöw wrote:
> might be were to start.

Is it really this simple?

bool isValidCodePoint(dchar c)
{
     return c < 0xD800 || (c >= 0xE000 && c < 0x110000);
}


More information about the Digitalmars-d-learn mailing list