]> git.notmuchmail.org Git - notmuch/commitdiff
Decode headers in reply
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 3 Mar 2010 07:50:56 +0000 (08:50 +0100)
committerCarl Worth <cworth@cworth.org>
Tue, 13 Apr 2010 16:23:54 +0000 (09:23 -0700)
When headers contain non-ASCII characters, they are encoded according
to rfc2047. Nomtuch reply command emits the headers in the encoded
form, which makes them hard to read by humans who compose the reply.

For example instead of "Subject: Re: Rozlučka" one currently sees
"Subject: Re: =?iso-8859-2?q?Rozlu=E8ka?=".

This patch adds a new GMime filter which is used to decode headers to
UTF-8 and uses this filter when notmuch reply outputs headers.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>

No differences found