Function sanitizeUTF8
Takes a string with possibly invalid UTF8 sequences and outputs a valid UTF8 string as near to the original as possible.
deprecated string sanitizeUTF8
(
in const(ubyte[]) str
) pure @safe;