Package: rss2email
Version: 1:2.54-2
Severity: normal

When ran against my blog, http://www.bortzmeyer.org/feed.atom,
rss2email produces emails like:

From: "Blog de =?utf-8?Q?St=E9phane?= Bortzmeyer, =?utf-8?Q?St=E9phane?= 
Bortzmeyer" <[EMAIL PROTECTED]>

They are invalid: the encoding says "UTF-8" (the Atom feed is itself
in UTF-8) but the =E9 (e with acute accent) is the code point, not the
encoded character.

Of course, Python programs which try to read the email fail:

Traceback (most recent call last):
  File "bin/rewrite-email.py", line 11, in ?
    upart = (part[0]).decode(part[1])
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-4: invalid 
data

[Tested on sid, same problem.]

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages rss2email depends on:
ii  python                        2.3.5-2    An interactive high-level object-o

-- no debconf information


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

Reply via email to