[Issue 4483] foreach over string or wstring, where element type not specified, does not support unicode

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 16 06:08:38 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=4483

--- Comment #15 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
(In reply to Martin Nowak from comment #12)
> The problem with UTF is that you need to handle it correctly from A to B.

The problem is dchar makes it harder to handle UTF correctly, because it's more
subtly incorrect, hence more difficult to fix. Without automatic decoding
people are more likely to encounter failure during development and fix it
before release.

--


More information about the Digitalmars-d-bugs mailing list