Bug#320185: rss2email: non-ASCII long header encoding patch

2006-05-02 Thread Tatsuya Kinoshita
To fix this bug, I've reordered the patch for rss2email_2.57-1. I hope the attached patch will be applied. -- Tatsuya Kinoshita --- rss2email-2.57-1/rss2email.py +++ rss2email-2.57/rss2email.py @@ -146,6 +146,8 @@ for e in ['error', 'gaierror']: if hasattr(socket, e): socket_errors.append

Bug#320185: rss2email: non-ASCII long header encoding patch

2005-11-09 Thread Aaron Swartz
> The patch encodes header (field body), not message body. Oh whoops, you're right, I was misreading the last clause. That looks pretty reasonable then.

Bug#320185: rss2email: non-ASCII long header encoding patch

2005-11-09 Thread Tatsuya Kinoshita
On November 9, 2005 at 4:46PM +0900, tats (at vega.ocn.ne.jp) wrote: > > The latest patch seems to always QP_CORRUPT the message. Why? > > In header, non-ASCII word must be converted to MIME encoded-word. | + charset = 'us-ascii' | + if nonascii.search(s): | + charset = 'utf-8

Bug#320185: rss2email: non-ASCII long header encoding patch

2005-11-09 Thread Tatsuya Kinoshita
On November 8, 2005 at 3:42PM -0500, me (at aaronsw.com) wrote: > The latest patch seems to always QP_CORRUPT the message. Why? In header, non-ASCII word must be converted to MIME encoded-word. The patch encodes header (field body), not message body. Even if the patch is applied, message body i

Bug#320185: rss2email: non-ASCII long header encoding patch

2005-11-08 Thread Aaron Swartz
The latest patch seems to always QP_CORRUPT the message. Why? See http://cr.yp.to/smtp/8bitmime.html for why this is a bad idea.