I used to be able to use a bffer for toUTF operation, what happened ?

Vladimir Panteleev thecybershadow.lists at gmail.com
Wed Apr 11 12:41:24 UTC 2018


On Wednesday, 11 April 2018 at 12:04:24 UTC, deadalnix wrote:
> This used to be an option:
>
> dchar val = ...;
> char[4] buf;
> toUTF8(buf, val);
>
> Now I'm getting an error.

This std.utf.toUTF8 overload was deprecated in 2.074.0 and 
finally removed in 2.077.0:

https://run.dlang.io/is/O57AGU (click Run)

Do you have deprecation messages turned on?


More information about the Digitalmars-d mailing list