Created attachment 383746 [details] mailcap.diff /etc/mailcap that is installed as a part of net-mail/mailbase-1.1 specifies that mail html attachments be viewed as text/html; /usr/bin/lynx -dump -force_html '%s' this is missing charset definition which is usually contained not in the html file itself, but in mail headers. proper line should read text/html; /usr/bin/lynx -dump -force_html -assume_charset=%{charset} '%s'
source: http://dev.mutt.org/trac/wiki/MuttFaq/Charset
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882f0d776b44270540a4477c0622b72f9cf261a9 commit 882f0d776b44270540a4477c0622b72f9cf261a9 Author: Mike Frysinger <vapier@gentoo.org> AuthorDate: 2021-09-15 15:24:45 +0000 Commit: Mike Frysinger <vapier@gentoo.org> CommitDate: 2021-09-15 15:32:44 +0000 net-mail/mailbase: document mailcap better Also fix quoting of %s, and add %{charset} support to html. Clean up the mailcap man page to generalize and remove mention of the "metamail" package since this file is not specific to it. Closes: https://bugs.gentoo.org/521134 Signed-off-by: Mike Frysinger <vapier@gentoo.org> net-mail/mailbase/files/mailcap-r2 | 36 ++++++++++++++++++++++ net-mail/mailbase/files/mailcap.5 | 58 +++++++++++++++++------------------ net-mail/mailbase/mailbase-1.7.ebuild | 46 +++++++++++++++++++++++++++ 3 files changed, 111 insertions(+), 29 deletions(-)