https://issues.dlang.org/show_bug.cgi?id=14519
--- Comment #4 from Vladimir Panteleev <[email protected]> --- Here's a counter-proposal: when encountering invalid UTF-8, instead of throwing exceptions, throw errors. This will fix the nothrow and performance problems, and will avoid the risk of data corruption. The workaround is to pre-sanitize the input. The impact of breaking existing code is the same as the original proposal. --
