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