string to wchar*?

Mike B Johnson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 3 16:36:18 PDT 2017


On Saturday, 3 June 2017 at 23:09:56 UTC, Stanislav Blinov wrote:
> On Saturday, 3 June 2017 at 22:54:22 UTC, Mike B Johnson wrote:
>
>> How to convert a string to wchar*?
>
> C-style null-terminated wchar*?
>
> https://dlang.org/phobos/std_utf.html#toUTF16z

This didn't work. More errors than the first. In any case, it 
conv should work.


More information about the Digitalmars-d-learn mailing list