toStringz for UTF-16

Jacob Carlborg doob at me.com
Sat Oct 13 04:11:47 PDT 2012


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


More information about the Digitalmars-d mailing list