Peter Maydell wrote:
> (In fact I think we should go ahead and change the behaviour for
> not-plain-ASCII bodies even if the user didn't pass the -attach
> switch, but I'm guessing I might get argued down on that.)

I agree.  I've never used -attach, instead sticking with #-directives,
and yet still send UTF-8 bodies with £ in text/plain emails with no
attachments by mistake.  This bug doesn't depend on using -attach.

>  if (*p != '\t' && (*p >= 127 || *p < 32) {
>     non_ascii = 1;

In that case, would plumping for character literals be nicer?

    if (*p < ' ' && *p != '\t' || *p > '~') {
        non_ascii = 1;

Cheers,
Ralph.


_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to