nmh-workers
[Top] [All Lists]

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

2013-10-24 12:24:07
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.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>