RSS Error – Your feed appears to be encoded as “UTF8”, but your server is reporting “US-ASCII”

KB ID 0000889 


I don’t validate and check the sites RSS feed as often as I should, but post server migration I got this error;

Your feed is encoded as utf-8

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
Your feed appears to be encoded as “UTF8”, but your sever is reporting “US-ASCII”


As you can see by the section I’ve indicated above, I can see where the UTF-8 is being set on the page. I just need my server (CentOS with Apache2) to allow it.

1. Edit (or create a file in the same directory as the RSS XML file) .htaccess and add the following lines to the end.

# Add the UTF-8 Character Set
AddCharset UTF-8 .xml

Edit .htaccess

2. The restart Apache.

service https restart

Related Articles, References, Credits, or External Links


Author: Migrated

Share This Post On