Re: RSS Feeds Added In r2148

Helge Hess <[email protected]> Tue, 26 Aug 2008 19:35:31 +0200
Newsgroups gmane.comp.cms.opengroupware.user
Message-ID <[email protected]>
On 26.08.2008, at 19:00, Adam Tauno Williams wrote:
> That one does call out encoding="utf-8" but I doubt that in itself  
> is sufficient. The channel uses stringByEscapingHTMLString but that  
> clearly isn't enough.


If you generate an XML file, you most likely need  
stringByEscapingXMLString. Raw XML doesn't know anything about HTML  
entities.
Another option might be to use an XHTML DTD which contains the  
necessary entity definitions.

Anyways, looking at the output of the Heise ticker is probably a good  
idea.

Thanks,
   Helge

PS: you do not need to & encode umlauts in HTML either, its just good  
style and protects against charset misconfigurations.
-- 
Helge Hess
http://helgehess.eu/
-- 
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users