curly quotes causing RSS problems
-
is there a good way to set up WP to convert curly quotes to straight quotes? ideally before posting data to the database, so that there are no curly quotes in the database.
I have a mult-author blog and some of my users will paste from MSWord with curly quotes, and it’s not possible to change this behavior on the part of my authors. This presents no problem on my website — the curly quotes are rendered on the web page, sort of. But it causes problems in the display of my RSS feeds, for reasons that have nothing to do with WP. I’m using CaRP to display my feeds, and CaRP doesn’t seem to be able to handle the curly quotes.
Anyhow, life would be simpler for me if curly quotes simply never made it into my database, but were replaced with straight quotes. Maybe this can be done with regular expressions? Something similar to the sanitize function. That’s what I’ll try, but if you already have a way of dealing with this please reply…
- The topic ‘curly quotes causing RSS problems’ is closed to new replies.