Removes invalid UTF8 characters and extra whitespace from CSV or strings, providing a detailed report of changes.