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
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to