https://issues.dlang.org/show_bug.cgi?id=24126
Jonathan M Davis <issues.dl...@jmdavisprog.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |issues.dl...@jmdavisprog.co | |m --- Comment #1 from Jonathan M Davis <issues.dl...@jmdavisprog.com> --- std.utf.toUTFz handles the general case, allowing flexibility with regards to both constness and character width: https://dlang.org/phobos/std_utf.html#toUTFz --