[Bug 558155] Re: i18n: Header Filter Rules (& fix) - rules don't match if header characters aren't representable in cset of list's preferred language.

Mark Sapiro mark at msapiro.net
Mon Jul 11 17:50:53 EDT 2016


Portions of this patch, but not the Unicode normalization have been
applied or otherwise addressed in MM versions 2.1.6 through 2.1.15.

I intend to deal with the spirit of the rest by converting the headers
to the cset of the list's preferred language using
encode(errors='backslashreplace') instead of encode(errors='replace').
In this way, these characters will be converted to '\uxxxx' escapes
rather than '?', and header_filter_rules patterns can be constructed to
match them.

** Changed in: mailman
   Importance: Undecided => Low

** Changed in: mailman
       Status: New => In Progress

** Changed in: mailman
    Milestone: None => 2.1.23

** 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/558155

Title:
  i18n: Header Filter Rules (& fix) - rules don't match if header
  characters aren't representable in cset of list's preferred language.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/558155/+subscriptions


More information about the Mailman-coders mailing list