sanitizeUTF8

Takes a string with possibly invalid UTF8 sequences and outputs a valid UTF8 string as near to the original as possible.

@safe pure
string
sanitizeUTF8
(
in ubyte[] str
)

Meta