Commit ef14acfb authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Make nnml handle invalid non-ASCII headers more consistently

* lisp/gnus/nnml.el (nnml--encode-headers): New function to
RFC2047-encode invalid Subject/From headers (bug#45925).  This
will make them be displayed more consistently in the Summary
buffer (but still "wrong" sometimes, since there's not that much
we can guess at at this stage, charset wise).
(nnml-parse-head): Use it.
parent b2b26bd4
Pipeline #8923 passed with stages
in 8 minutes and 2 seconds