Fix some encoding issues.