
21 Sep
2018
21 Sep
'18
11:05 a.m.
On Wed, 19 Sep 2018, at 14:07, @lbutlr wrote:
:0 h * ^Subject:.*=\? SUBJECT=| formail -cXSubject: | perl -MEncode -ne 'print encode("UTF8",decode("MIME-Header",$_))'
By rewriting the message to include UTF-8 characters in the headers you have just made your message invalid ...
This is not rewriting a message, it is assigning a variable. It's exactly what you later suggested yourself, and I agree that it is the more versatile solution:
Or, save your UTF-8 decoded subject into a variable like UTFSUB=| formail…
-- -- Andreas :-)