On 8/16/17 1:09 AM, apz28 wrote:
void main()
{
     import std.utf : toUTF16; // Same problem with toUTF8

     wstring s = toUTF16!string("abc");
}

Compilation output:
/d500/f513.d(3): Deprecation: function std.utf.toUTF16 is deprecated - To be removed November 2017. Please use std.utf.encode instead. /d500/f513.d(3): Deprecation: function std.utf.toUTF16 is deprecated - To be removed November 2017. Please use std.utf.encode instead.


Help me out, what is the problem with the message?

-Steve

Reply via email to