Always std.utf.validate, or rely on exceptions?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 2 09:06:06 PST 2017


On Thursday, 2 March 2017 at 17:03:01 UTC, Kagamin wrote:
> Functions working with strings usually assume valid utf and can 
> behave incorrectly on malformed utf.

Or rather they report an unrecoverable error terminating the 
process.


More information about the Digitalmars-d-learn mailing list