best effort to keep text/plain

Bug #558018 reported by tkikuchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
High
Unassigned

Bug Description

When a message come in different charset than list
specific one, Decorate.py adds the header and footer in
mime attatchments. This patch tries to keep the
good-old plain text format by making these texts into
unicode and encode in list preferred charset. If it
fails, the messages will get mime-multiparted as was
the case without this patch.

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

Expand this patch to base64 encoded plain text.
apply the second patch Decorate.py.diff2 to the original
Decorate.py

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

Refine the code and increment priority.

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

Sorry, there was a error in the previous patch.

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

The file Decorate.py.patch.txt was added: Decorate.py.patch

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

If you personalize delivery, i18n user name cause error
because the name is stored in unicode. I merge this fix into
this Decorate.py.patch.txt

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

The file Decorate.py.patch.txt was added: Decorate.py.patch (with personalization fix)

Revision history for this message
tkikuchi (tkikuchi-users) wrote :

Logged In: YES
user_id=67709

merged into #865661.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.