I am having a problem with our RSS feed displaying correctly in Safari but not in Firefox.
A sample is shown below. The issue is in the <title> tag under <pubdate>. The ó shows correctly in Safari but is spelled out in Firefox. Has anyone encountered this problem?
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/rss/styles/shared_xsl_stylesheet_v2.xml"?>
<rss version="2.0">
<channel>
<title>Updates: What's New on The Website</title>
<link>http://www.site.com/news/whatsnew/wn-today.shtml</link>
<description>The latest events, developments, and updates to the website</description>
<language>en-us</language>
<pubDate>Thu, 10 Sep 2009 11:58:18 EDT</pubDate>
<lastBuildDate>Wed, 09 Sep 2009 16:41:00 EDT</lastBuildDate>
<item>
<title>Pronunciamiento de la Presidenta de la Comisión de Valores y Bolsa</title>
<link>http://www.site.com/divisions/corpfin/cfnew/cfnew0909.shtml</link>
<description>Pronouncements</description>
<guid isPermaLink="false">2009-09-09-000115</guid>
<pubDate>Wed, 09 Sep 2009 16:41:00 EDT</pubDate>
</item>
</channel>
Edited to show the above as code. 🙂
ó is valid in UTF-8 encoded documents. The problem is that you reference ó but the entity needs to be defined in a DTD somewhere because the default DTD doesn’t define it because ó is valid in UTF-8 encoded XML.
Check out the W3C’s Validator.