Forum OpenACS Q&A: Encoding problems in ns_xml

Collapse
Posted by Simon Carstensen on
The RSS parser of the News Aggregator package doesn't support RSS files where encoding="iso-8859-1" is set in the xml processing instruction and ISO-8859-1 characters are actually used in descriptions (it uses nx_xml). An example I've been testing on is the Danish DR feed at http://asdf.dk/rss/da/dr.rss.

I've looked through the ns_xml documentation, but have been unable to find anything about the handling of encoding.

Does anyone know how I may fix this? It sure would be nice to read those spiffy Danish feeds in my news aggregator :)

Collapse
Posted by Dave Bauer on
I suspect ns_xml does not handle this at all. You should look into using tDOM as the XML parser instead. It is required for OpenACS 5.0 anyway.