Fixes latin-1 encoding issues