[elinks-users] elinks + mutt: problems with utf-8 encoding

Joost Kremers joostkremers at fastmail.fm
Thu Oct 16 02:25:05 PDT 2008

On Wed, Oct 15, 2008 at 10:38:55PM +0300, Kalle Olavi Niemitalo wrote:
> Witold Filipczyk <witekfl at poczta.onet.pl> writes:
> > text/html; elinks -dump -eval 'set document.codepage.assume = "%{charset}"' %s; copiousoutput
> The Mutt manual recommends not putting quotes around %.

Actually, mutt puts single quotes around the charset itself. E.g. when I
view an html mail, at the top of the message mutt displays:

[-- Autoview using elinks -dump -eval "set document.codepage.assume = 'ISO-8859-1'" '/home/joost/tmp/muttLrLrTU' --]

BTW, I have changed the .mailcap entry suggested by Witold to:

text/html; elinks -dump -eval "set document.codepage.assume = %{charset}" %s; copiousoutput

Joost Kremers, PhD
University of Frankfurt
Institute for Cognitive Linguistics
Grüneburgplatz 1
60629 Frankfurt am Main, Germany

More information about the elinks-users mailing list