[Bug 1643210] Re: 'from_is_list' does not RFC2047 encode correctly when translation contains non-ascii char
Mark Sapiro
mark at msapiro.net
Wed Nov 23 17:42:51 EST 2016
I have attached the results of my latest effort. For the From:, this
gets the i18n translation of the '%(realname)s via %(lrn)s' string with
dummy substitutions, converts it to unicode and substitutes unicode
values for the substitutions and encodes it all as utf-8. I have tested
this to some extent and I think it's good, but I would appreciate
additional testing. Please try this and see if it works in your
environment or report any issues.
As far as the encoding of _('(no subject)') is concerned, my change
ensures this is translated in the list's language, not the poster's.
Again, thanks for your help with this.
** Attachment added: "Another attempt at a fix."
https://bugs.launchpad.net/mailman/+bug/1643210/+attachment/4782228/+files/CookHeaders.py.diff.txt
** Changed in: mailman
Status: Incomplete => In Progress
** Changed in: mailman
Assignee: (unassigned) => Mark Sapiro (msapiro)
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1643210
Title:
'from_is_list' does not RFC2047 encode correctly when translation
contains non-ascii char
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1643210/+subscriptions
More information about the Mailman-coders
mailing list