std.format with wstring and dstring
Dom DiSc
dominikus at scherkl.de
Mon Sep 8 09:35:25 UTC 2025
On Monday, 8 September 2025 at 08:49:53 UTC, IchorDev wrote:
> On Sunday, 7 September 2025 at 12:29:08 UTC, Robert Schadek
> wrote:
>> Meta: Removing wstring and dstring support from std.format for
>> phobos 3 should be looked at IMHO.
>
> As I understand it, Phobos 3 will basically not support UTF-16
> or UTF-32 anymore except for encoding conversion. As someone
> who appreciates UTF-32's elegant simplicity, I find this
> saddening.
This "simplicity" is gone in the moment you start working with
graphemes. A "unit" on the screen may consist of multiple
characters no matter which encoding you use - so why not stay
with a single one (UTF-8)?
More information about the Digitalmars-d-announce
mailing list