Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

setting encoding type of rss



6:29 pm on Apr 7, 2006 (gmt 0)

5+ Year Member

When I try to validate my rss feed, it gives me a warning that although my document says utf-8, the server is reporting us-ascii. I tried to go into IIS and set up a content type of text/xml for my feed, but it's still reporting us-ascii. Is there something else I need to do to get it to report as utf-8? Thanks.


7:01 pm on Apr 7, 2006 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Welcome to WebmasterWorld, gswartz.

I'm not too familiar with IIS (I use Apache), but you need to explicitly declare the UTF-8 charset with a HTTP header, not just within the feed. The other possibility is to declare the mime type

which replaces
and is UTF-8 by default.


7:07 pm on Apr 7, 2006 (gmt 0)

5+ Year Member

thank you encyclo, that's exactly what I needed. now it validates fine.

Featured Threads

Hot Threads This Week

Hot Threads This Month