nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-


From: Ralph Corderoy
Subject: Re: [Nmh-workers] Understanding nmh (aka. What's the goal) [ really non-ASCII message bodies ]
Date: Wed, 08 Dec 2010 11:45:07 +0000

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.




reply via email to

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