Tatsuya Kinoshita wrote:
> I've tried using rss2email and found a bug.
> 
> A Subject field is encoded incorrectly if the RSS feed contains
> non-ASCII characters in the title and the word is too long.
> 
> For instance,
> 
> <title>á12345678901234567890123456789012345678901234567890123456789012345678901234567890<title>
> 
> is converted to
> 
> Subject: 
> =?utf-8?Q?=C3=A112345678901234567890123456789012345678901234567890123456789012345678=
> 901234567890?=
> 
> It seems that "=\n" is inserted incorrectly.

I'd like to pass this bug on to python besides working around it, but I
can't seem to reproduce it with a simple test case like this:

#!/usr/bin/python
# -*- coding: utf-8 -*-
import mimify
print 
mimify.mime_encode_header("á12345678901234567890123456789012345678901234567890123456789012345678901234567890")

Do you have any ideas for a simple test case that does not involve
running rss2email on a feed?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to