A lot of the websites we’re linking to are using smart quotes — single and double. For example, this story on the website of the AFL-CIO has several them in the headline. When one of our correspondents simply copies and pastes the headline, this is what appears:
Don’t Miss Labor Day’s ‘Escape to the Wild’ Marathon
But once it’s in our database, it’s being shown as:
Don’t Miss Labor Day’s ‘Escape to the Wild’ Marathon
What’s the best way to change all smart quotes, single and double, automatically into characters that will not break in our new database? Because this should be done as the records are entered, it would need to be in Perl, which is what we’re currently using for database entry.
Thanks!