Function sanitizeUTF8
Takes a string with possibly invalid UTF8 sequences and outputs a valid UTF8 string as near to the original as possible.
Prototype
string sanitizeUTF8( const(ubyte[]) str ) pure @safe;
Authors
Sönke Ludwig
Copyright
© 2012-2014 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.