On Thursday, 15 June 2017 at 15:47:54 UTC, Jonathan Shamir wrote: > Also note I can't cast to char[] in compile time? What's the > reason for that? Have a look at: https://dlang.org/phobos/std_utf.html#byCodeUnit https://dlang.org/phobos/std_utf.html#byChar https://dlang.org/phobos/std_string.html#.representation