Package: nrss
Version: 3.9-1
Severity: normal
Tags: patch

Hi,

A Ubuntu user reported [0] the following bug on nrss:

"nrss 0.3.9-1 gets an error parsing a feed encoded in ISO 8859-1 that
contains international symbols. Sometimes only the first item get
displayed if it contains no accented characters.

I've tried this feed:
http://rss.golem.de/rss.php?feed=RSS2.0

But Atom feed from the same site works flawlessly (it is encoded in
UTF-8)
http://rss.golem.de/rss.php?feed=ATOM1.0

The problem seems to be that XML_ParserCreate is called in parse.c with
encoding set to "UTF-8". When called without explicitly set encoding,
Expat honors the document encoding declaration.
I've tested it with XML_ParserCreate(NULL) and that works."

There is a patch on the bug that is reported to work. It would be good
if it could be included in Debian and upstream (Ubuntu and Debian are 
currently in sync and it'd be nice to keep it that way)

The patch can be found at [1].

Thanks,
Iain

[0] https://bugs.launchpad.net/ubuntu/+source/nrss/+bug/319994
[1] http://launchpadlibrarian.net/21533528/encoding.patch

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
  APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 
'intrepid-proposed'), (500, 'intrepid-backports'), (500, 'intrepid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to