|
Main sidebar
|
PITS /
00570Summary: Illegal XML code generated by RSS
Created: 2005-10-24 11:23
Status: Closed - fixed for 2.1.beta14
Category: Bug
Assigned:
Priority: 3
Version: 2.0.10
OS: Linux, Apache, PHP5 or Windows, Apache, PHP4
Description: This bug seems to be a variation of 00235. When the text of the page contains characters with accent, they are not converted from ISO-8859-1 to UTF-8. So, the generated RSS Flow is detected as invalid. For instance, when I use the Feed Validator on my AllRecentChanges page(approve links), I get the following error:
*************************
Warning
This feed is valid, but may cause problems for some users. We recommend fixing these problems.
* line 94, column 1: description contains bad characters (6 occurrences) [help]
*************************
93. # <description>Bienvenue !
94. # L’économie de marché, ce n’est pas la jungle… mais parfois, ç
*************************
The actual text is: L'économie de marché, ce n'est pas la jungle mais parfois The HTML pages are coded with the page code ISO-8859-1, as written in the HTML Headers. Because the XML code only supports UTF-8 one, the characters should be translated during RSS creation. Thanks in advance, Jean-Dominique, Annecy, France. For my wiki, I made a unicode RSS 2.0 feed with the full HTML of pages embedded. See http://deadhobosociety.com/index.php/Site/Changes?action=rss(approve links) . (Yes, it's valid.) Email boxcarl at my domain if you want to see my modifications to RSS.php --Boxcarl |