I just migrated my website to a brand new server, and now i'm having a weird issue.

Some characters on my RSS feed are not properly encoded, as you can see here : http://www.windowsphonefr.com/mise-a-jour-de-facebook-sur-windows-phone-8-des-performances-au-top/20392/feed

The characters affected are <, >, ', and ". Accented (á, é, ê, à, è, ...) are correctly displayed.

How can I fix this ?

  • 3
    Looks fine to me in FeedDemon and Safari, and the W3 feed validator says it's perfectly valid. Did you resolve this yourself already?
    – Su'
    Dec 18, 2012 at 8:46
  • Looks OK to me too. Can you cut/paste a section that is "wrongly encoded"?
    – MrWhite
    Dec 18, 2012 at 9:29
  • 1
    Have you tried another app to read the feed. As @Su' said w3 validated it which means it's ok. You can test it here validator.w3.org/appc
    – Anagio
    Dec 18, 2012 at 10:23
  • 1
    The problem would seem to be that you have entities inside your CDATA sections which you don't want encoded. This might be OK if your feed is displayed in an HTML context, but if not (which seems to be the case) these entities should be displayed literally - unless the reader manually decodes these entities (which it should not). Since your CDATA sections contain a mixture of encoded and unencoded chars I would guess that the encoded chars are in your source data, or another process is encoding them. I don't see how the server itself can influence this.
    – MrWhite
    Dec 18, 2012 at 12:58
  • 1
    @w3d OK, so WordPress is now mixing encoded and unencoded chars since the last update (3.5)...
    – Patouf
    Dec 18, 2012 at 14:51

1 Answer 1


Those characters affected are the ones that are usually encoded as HTML entities: &lt;, &gt;, &apos and &quot;. Maybe you need to decode them first?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.