I created a RSS feed, but when I validate the feed I get the following message.
Your feed appears to be encoded as 'UTF-8', but your server is reporting 'US-ASCII'
Also, I have added this to my feed <?xml version="1.0" encoding="iso-8859-1" ?> (before I just had <?xml version="1.0"?>
to see if it would help and I get this message.
This feed is valid, but may cause problems for some users. We recommend fixing these problems.
Your feed appears to be encoded as 'iso-8859-1', but your server is reporting 'US-ASCII'
My feed is at http://www.filipinaeyes.com/Dating-RSS-Feed/rss.xml
I use Feed Validator for the validation. It is located at: http://feedvalidator.org/
When validator gives me the above messages they provide a solution, but it is all greek to me.
Can anyone explain the problem and how to fix it in plain english.
If you're using Apache, you can set the character encoding for your file in .htaccess.
Place this line in your .htaccess file at the root of your site:
If you do this, the server will report a charset of "iso-8859-1" (or whatever you specify in the charset part of the Files directive).
Or if it's a PHP script put this (or similar) at the top:
header('Content-Type: application/xml; charset=utf-8');