sanitizeUTF8 now emit a warning when invalid UTF-8 sequence was found
This is to allow reporting invalid text to upstream libraries