nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhbuild Duplicates charset of US-ASCII.

2014-06-01 09:23:49
Ralph wrote:

In producing Norm's test HTML I found this ancient mhbuild duplicates
charset when it's us-ascii.

    $ for f in foo iso-8869-1 utf-8 us-ascii; do
    >     printf '\n#text/plain; charset="%s" /dev/null\n' $f |
    >     mhbuild -;
    > done
    MIME-Version: 1.0
    Content-Type: text/plain; charset="foo"
    Content-ID: 
<16782(_dot_)1401631358(_dot_)1(_at_)orac(_dot_)inputplus(_dot_)co(_dot_)uk>

    MIME-Version: 1.0
    Content-Type: text/plain; charset="iso-8869-1"
    Content-ID: 
<16784(_dot_)1401631358(_dot_)1(_at_)orac(_dot_)inputplus(_dot_)co(_dot_)uk>

    MIME-Version: 1.0
    Content-Type: text/plain; charset="utf-8"
    Content-ID: 
<16786(_dot_)1401631358(_dot_)1(_at_)orac(_dot_)inputplus(_dot_)co(_dot_)uk>

    MIME-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"; charset="us-ascii"
    Content-ID: 
<16788(_dot_)1401631358(_dot_)1(_at_)orac(_dot_)inputplus(_dot_)co(_dot_)uk>

Looks like it's been fixed already:

    $ mhbuild -version
      mhbuild -- nmh-1.6+dev [compiled on atto.localdomain at Thu May 22 
21:57:43 CDT 2014]

    $ for f in foo iso-8869-1 utf-8 us-ascii; do
    >     printf '\n#text/plain; charset="%s" /dev/null\n' $f |
    >     mhbuild -;
    > done
    MIME-Version: 1.0
    Content-Type: text/plain; charset="foo"

    MIME-Version: 1.0
    Content-Type: text/plain; charset="iso-8869-1"

    MIME-Version: 1.0
    Content-Type: text/plain; charset="utf-8"

    MIME-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"

My profile has -nocontentid.

David

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