Yes, you are quite right.  That is a pretty easy fix.

Since I got my Kindle, I have not really been listening to podcasts anymore. I can certainly make a release with this fix, but I'm wondering if you have any interest in taking over hpodder in some fashion or other?

-- John

On 02/06/2012 11:12 AM, Joey Hess wrote:
Package: hpodder
Version: 1.1.5.0+nmu3
Severity: normal

hpodder has started printing that warning here, though it continues
to other feeds. The feed causing the problem is
http://writersalmanac.publicradio.org/podcast/feed.php

I'll attach the file in question to this message. The problem
byte appears to be the apostrophe in "The Equipment Man?s Wife"

This feed is somewhat invalid, but it's good to apply Postel's law when
processing rss feeds -- because Sturgeon's law also applies. :)

In this case, why not set binary mode on the Handle before hGetContents?
Then the enclosure tags could be extracted even if other parts have bad
encodings.

-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hpodder depends on:
ii  curl          7.24.0-1
ii  id3v2         0.1.12-2
ii  libc6         2.13-26
ii  libffi5       3.0.10-3
ii  libgmp10      2:5.0.3+dfsg-1
ii  libsqlite3-0  3.7.9-2

hpodder recommends no packages.

hpodder suggests no packages.

-- no debconf information





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to