On 2012-10-13 02:04, Jonathan M Davis wrote:
It does. 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)*.
Shouldn't we deprecate "toUTF16z" if "toUTFz" can handle all cases that "toUTF16z" does?
-- /Jacob Carlborg