Replace possible non UTF-8 characters