[Top] [All Lists]

Re: [Nmh-workers] scan - Funky output with utf-8

2017-03-21 07:03:07
Hi Valdis,

%body in a scan format goes pear-shaped if -width splits a UTF character.

May we please have the output of

    scan -version

(Attaching a .png, cut-n-paste didn't quite get things right)

A simple test here doesn't show the fault.

    $ scan -version
    scan -- nmh-1.6 [compiled on orac at 2016-11-15 11:46:57 +0000 Tue]
    $ for w in 7 8 9; do
    >     printf '%s\n' '' Beau£iful. |
    >     scan -forma '<<%{body}>>' -file /dev/stdin -width $w
    > done

It would be handy to have just the start of the undecoded body so we can
reproduce the same UTF-8 runes, e.g. the quoted-printable or base64 of
867285's body.

Cheers, Ralph.

Nmh-workers mailing list

<Prev in Thread] Current Thread [Next in Thread>