nmh-workers
[Top] [All Lists]

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

2013-10-24 12:27:05
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

The only problem with that is if charset doesn't exist as a parameter,
you don't get the default encoding.  So it's not perfect, but it's
a lot better than nothing.

--Ken

_______________________________________________
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>