nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] mojibake in UTF-8 encoded quoted-printable messages


From: Joel Uckelman
Subject: Re: [Nmh-workers] mojibake in UTF-8 encoded quoted-printable messages
Date: Thu, 24 Oct 2013 10:23:30 -0700

Thus spake Ken Hornstein:
> >The problem with that is that the HTML being sent to lynx might not be
> >in a UTF-8 compatible encoding.
> 
> Right, that's what I was talking about in my message.  That doesn't
> currently exist.  %a puts all of the MIME parameters out there, but that's
> inconvenient to deal with.  That should be easy enough to add.

I didn't know about %a. It turns out that's sufficient, if kludgy:

mhshow-show-text/html: %p/usr/bin/lynx -assume_charset=`echo %a | sed 
's/.*charset="\([^"]\+\)".*/\1/'` -force_html -dump '%f' | less

Thanks!
 
-- 
J.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]