toWellFormed() returns a new string where all "lone surrogates" are replaced with the Unicode replacement character U+FFFD.