Replace curly quotes to avoid encoding issues.