From 19d92166a2d93ec0ceeaeec3379fedad324e934b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 3 Jul 2020 14:52:15 +0300 Subject: [PATCH] .muttrc: Convert html attachment to/from UTF-8 Undo conversion made by `mutt`. --- .muttrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.muttrc b/.muttrc index 051a412..018fe38 100644 --- a/.muttrc +++ b/.muttrc @@ -362,6 +362,10 @@ macro pager,attach M \ =sent-mail \ "Go to sent-mail" +macro attach 8 "iconv.py -t utf-8 | webstdin" \ + "View html attachment in a web browser (convert back to utf-8)" +macro attach U "iconv.py -f utf-8 | webstdin" \ + "View html attachment in a web browser (convert from utf-8)" macro attach V "webstdin" \ "View html attachment in a web browser" -- 2.39.5