https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #24 from Martin Nowak <[email protected]> --- 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. --
