<<< Date Index >>>     <<< Thread Index >>>

Re: how to display 8bit chars in mutt?



Hello Roman,

 On Friday, September 15, 2006 at 17:33:32 +0300, Roman Cheplyaka wrote:

> mutt doesn't seem to pass their Content-type to external program.

    Any Content-Type parameter can be passed to the viewer on its
command line, via mailcap. Example with the /charset/ label:

| text/html; html2text %s %{charset} ; nametemplate=%s.html ; copiousoutput

    ...and Mutt calls the viewer like this:

| html2text '/tmp/mutt.html' 'iso-8859-1'

    Now, it's up to the viewer to decide if it trusts more the MIME
label on the container, or the charset declaration in meta-tags embedded
in the HTML part itself.


Bye!    Alain.
-- 
« if you believe the Content-Type header, I've got a bridge to sell you. »