>>>>> "BG" == Ben Gertzfield <[EMAIL PROTECTED]> writes:

    BG> Barry, this patch to CookHeaders.py fixes this issue of
    BG> endless prefix string adding if the Subject line gets encoded,
    BG> by decoding the Subject line before searching for the prefix.
    BG> It encodes the new prefix if needed as a separate chunk in the
    BG> new Subject header.  This will allow for Japanese, French,
    BG> whatever prefix strings.

Ok, but there's a bug in email.Header.decode_header when the here
string has no encoded parts.  It returns the original header
(str-ified), but it should still return a list of tuples.

I'll fix that.
-Barry


_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers

Reply via email to