]> git.eshelyaron.com Git - emacs.git/commit
Make nnml handle invalid non-ASCII headers more consistently
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 22 Jan 2021 18:07:52 +0000 (19:07 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 22 Jan 2021 18:07:57 +0000 (19:07 +0100)
commitef14acfb68bb5b0ce42221e9681b93562f8085eb
tree01c13a9fddf5fe309b1f6b9a887c5d8294d1cb17
parentb2b26bd4d66d25f2456baa4e9eb9516c122a30e0
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.
lisp/gnus/nnml.el