On Saturday, October 13, 2012 01:58:15 Katayama Hirofumi MZ wrote: > Why doesn't D have toStringz function for UTF-16 encoding? std.utf.toUTFz will do every combination of char type and constness. And std.utf.toUTF16z will convert any string to a null-terminated const(wchar)*. - Jonathan M Davis