Fix encoding issues.