I thing the zero-terminated literal shtick is pointless. Literals are rarely passed to C functions, so we gotta use the std.utf.toUTFz anyway.
On Mon, May 14, 2012 at 5:03 PM, Christophe <trav...@phare.normalesup.org>wrote: > deadalnix , dans le message (digitalmars.D:167258), a écrit : > > A good solution would be to set the pointer to 0 when the length is set > > to 0. > > String literal are zero-terminated. "" cannot point to 0x0, > unless we drop this rule. Maybe we should... > -- Bye, Gor Gyolchanyan.