Re: UTF-8 conversion

David Levine <[email protected]> Sat, 15 Feb 2025 08:37:43 -0500
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
hymie wrote:

> but when I reply to the email, I end up with this:
>
> To: =?utf-8?Q?Team=20PrezCon?= <[email protected]>
> Subject: Re: =?utf-8?Q?We=20are=20down=20to=20the=20wire.?=
>
> Is there something in the NMH configuration that I can do get rid of
> the cruft and just grab the name and subject?

If you run "mhfixmsg -decodeheaderfieldbodies utf-8" on the message, it will get rid of the cruft in the message itself.

Of course, you can specify an encoding other than utf-8.  The mhfixmsg(1) man page has details, including backup of the original message, how to how integrate with procmail, and more.

David