[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Weird behavior with non-ascii code in headers
From: |
Valdis . Kletnieks |
Subject: |
Re: [Nmh-workers] Weird behavior with non-ascii code in headers |
Date: |
Wed, 26 Jun 2013 12:30:08 -0400 |
On Wed, 26 Jun 2013 11:06:47 -0400, Ken Hornstein said:
> >Found this out the hard way - had my reply mail bounce because my reply
> >to the mail had 'To: Mar' and my MTA freaked.
>
> It might be interesting to understand the failure there.
Basiclly, my 'repl' template uses %formataddr(), and instead of getting:
To: MarXa Soler Heredia <address@hidden> (where X is a oxED)
I got
To: Mar
which didn't work very well once the MTA looked at it...
> Sigh. It's a tough problem. Let me ask you: what do you want to happen?
fprintf(stderr,"non-convertible char found near
%s",*(max(source_string,bad_char-5))
would be an improvement...
(and yes, I know about the ugly of passing 2 address poiinters to max :)
pgpCekPm_kmq_.pgp
Description: PGP signature