“Yea! We’ve Killed the Curly Quotes”

WordPress has the annoying habit of displaying single and double quotes using pretty curly quotes (nice little balls on the end) which are fine for the page viewed, but they also shove them in RSS feeds, which can end up rendered as all kinds of odd characters (question marks). It also crops up when you copy content from an MS Word document, more than quotes, dashes, ellipses, and more all have odd encodings when yanked out of Word…

I’ve killed curly quotes (with a little help from the web).

It took a few links from googling wordpress +curly +quotes a few misses in the WordPress Support Forums where more people are asking how…. finally finding the answer here based on the tip from scriptygoddess.

To do this, you need to edit your wp-includes/default-filters.php and comment out these line as shown below (put a # before them so they are ignored):

Well, I *think* it works by peeking at my feed and how it is displayed elsewhere. Hopefully there are no un-intended consequences. Death to Curly Quotes! (in feeds)

If this kind of stuff has any value, please support me monthly on Patreon or a one time PayPal kibble toss
Profile Picture for Alan Levine aka CogDog
An early 90s builder of the web and blogging Alan Levine barks at CogDogBlog.com on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person.