Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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 :

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

How can I fix this ?

share|improve this question
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 '12 at 8:46
Looks OK to me too. Can you cut/paste a section that is "wrongly encoded"? – w3d Dec 18 '12 at 9:29
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 – Anagio Dec 18 '12 at 10:23
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. – w3d Dec 18 '12 at 12:58
@w3d OK, so WordPress is now mixing encoded and unencoded chars since the last update (3.5)... – Patouf Dec 18 '12 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?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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