From: Oleg Broytman Date: Fri, 3 Jul 2020 11:52:15 +0000 (+0300) Subject: .muttrc: Convert html attachment to/from UTF-8 X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=19d92166a2d93ec0ceeaeec3379fedad324e934b .muttrc: Convert html attachment to/from UTF-8 Undo conversion made by `mutt`. --- 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"