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
locale
(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
<<Beau
<<Beau£
<<Beau£i
$
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.
https://plus.google.com/+RalphCorderoy
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers