Fix: RSS Feed is Encoded as ASCII not UTF-8

If you are using an ASP.NET page to generate your RSS feed, you may run into this validation error.

Your feed appears to be encoded as “utf-8″, but your server is reporting “US-ASCII”.

Set the ResponseEncoding property to utf-8. Here is an example of its use in the Page directive.

<%@ Page Language="C#" ResponseEncoding="utf-8" %>

Use FeedValidator.org to test your RSS and ATOM feeds.

This entry was posted in ASP.NET and tagged , . Bookmark the permalink.

Comments are closed.