http://d.puremagic.com/issues/show_bug.cgi?id=6130
Summary: utf.toUTF16z needs to be callable with any string type Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-06-08 17:54:51 PDT --- Currently only passing UTF8 strings works. wstrings should be supported too: wstring a = "foo"; toUTF16z(a); testwstring.d(12): Error: function std.utf.toUTF16z (in const(char[]) s) is not callable using argument types (immutable(wchar)[]) testwstring.d(12): Error: cannot implicitly convert expression (a) of type immutable(wchar)[] to const(char[]) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------