If std.utf.toUTF8(dchar[]) is given bad input it sometimes seg-v's. DMD also seg-v's if the same input undergoes a dchar[] -> char[] translation at compile time. I'll post a string that does it when I find another case.