Replaces invalid UTF-8 sequences with U+FFFD (if there's enough space,) and Newlines with '\n'.
Converts various Unicode encoding formats to UTF-8.
See Source File
Aziz Köksal
GPL3 $(Maturity very high)