On Wednesday, 20 July 2016 at 08:05:20 UTC, Mike Parker wrote:
On Wednesday, 20 July 2016 at 08:02:07 UTC, Mike Parker wrote:
On Wednesday, 20 July 2016 at 07:49:38 UTC, celavek wrote:

If you are absolutely, 100% certain that you are dealing with ASCII, you can do this:


And I forgot to add:

Otherwise, you'll want to convert to dchar[] (probably via std.utf.toUTF32) and pass that along instead.

Actually, std.conv.to might be better, since toUTF32 returns dstring:

auto dcharArray = to!(dchar[])(charArray);

Reply via email to