Hi Joel,
Does mhshow-charset-windows-1252 not work in nmh 1.5?
AFAIK it does.
I added this in my .mh_profile:
mhshow-charset-windows-1252: %s | iconv -f windows-1252 -t utf-8 | less
$ g mhshow-charset-windows-1252 .mh_profile
mhshow-charset-windows-1252: %s | iconv -f windows-1252 -t utf-8 | less
$
and it appears to be ignored.
I hand-prepared an email. The QP of it, including the headers, is
Date: Sun, 27 Oct 2013 16:28:16 +0000
To: ralph(_at_)inputplus(_dot_)co(_dot_)uk
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=3Dwindows-1252
Message-Id:
<20131027162816(_dot_)B8D242AF8B(_at_)orac(_dot_)inputplus(_dot_)co(_dot_)uk>
From: ralph(_at_)inputplus(_dot_)co(_dot_)uk (Ralph Corderoy)
149 =95
150 =96
151 =97
`recode /qp' will undo that if you strip the indentation.
It seems to work.
$ mhshow
Date: Sun, 27 Oct 2013 16:28:16 GMT
To: ralph(_at_)inputplus(_dot_)co(_dot_)uk
From: ralph(_at_)inputplus(_dot_)co(_dot_)uk (Ralph Corderoy)
Subject: test
149 •
150 –
151 —
If I run `ps fww' from within less I see
PID COMMAND
14264 -bash
15908 \_ mhshow
15911 \_ /bin/sh -c exec m '/home/ralph/mail/mhshow8AvGFY' | iconv -f
windows-1252 -t utf-8 | less
15914 \_ less
15922 \_ sh -c /bin/bash -c ps\ fww
15923 \_ ps fww
That first `m' is my ~/bin/m which is also less.
Cheers, Ralph.
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers