[Issue 14519] [Enh] foreach on strings should return replacementDchar rather than throwing

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 30 15:40:49 PDT 2015


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

--- Comment #24 from Martin Nowak <code at dawg.eu> ---
If we validate encoding on data entry points such as readText or byLine, then
decoding errors should be assertions rather than silent replacements, because
it's a programming error to use unvalidated data as string.

--


More information about the Digitalmars-d-bugs mailing list