Re: [OFF] Non-U.S. email, date header day/month names? RFCs, etc.
Re: [OFF] Non-U.S. email, date header day/month names? RFCs, etc.
- Subject: Re: [OFF] Non-U.S. email, date header day/month names? RFCs, etc.
- From: "John W. Baxter" <email@hidden>
- Date: Fri, 19 Dec 2003 12:01:37 -0800
- Envelope-to: email@hidden
On 12/19/2003 0:40, "Walter Ian Kaye" <email@hidden> wrote:
>
Question to French and other non-U.S. senders of email:
>
>
According to RFC 2822, day and month names are in English. However,
>
over the years I have seen non-English names occasionally in the
>
Date: header. From the RFCs I've read (822, 1123, 2822), that would
>
seem to be an error.
>
>
Can I safely consider messages with non-English day/month names as garbage?
>
>
VRic's old version of Claris Emailer is already giving me problems
>
due to its 2-digit year (03 displays as 1948 in Eudora), and I'm
>
trying to program around that now. While I'm at it, I want to create
>
regular expressions to validate date headers in general. How valid is
>
valid? ...
"Be generous in what you accept; be strict in what you create."
Lots of email floats around with "invalid" header contents. And there can
be surprises, such as more than one address in the From: header (which is
valid).
Can you consider messages with non-English day and month names "garbage?"
It would depend on the audience for your scripts. For general distribution,
probably not.
--John
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.