homepage Welcome to WebmasterWorld Guest from 54.242.200.172
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
setting encoding type of rss
gswartz




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

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.

 

encyclo




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

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 application/rss+xml which replaces text/xml and is UTF-8 by default.

gswartz




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved