nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] charset conversion for windows-1252


From: Ralph Corderoy
Subject: Re: [Nmh-workers] charset conversion for windows-1252
Date: Sun, 27 Oct 2013 16:44:39 +0000

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: address@hidden
    Subject: test
    MIME-Version: 1.0
    Content-Type: text/plain; charset=3Dwindows-1252
    Message-Id: <address@hidden>
    From: address@hidden (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:      address@hidden
    From:    address@hidden (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.



reply via email to

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