• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re(2): Stupid newbie question - determine if integer is even or odd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re(2): Stupid newbie question - determine if integer is even or odd


  • Subject: Re: Re(2): Stupid newbie question - determine if integer is even or odd
  • From: Malte Tancred <email@hidden>
  • Date: Wed, 14 Aug 2002 11:57:46 +0200

On wednesday, august 14, 2002, at 05:40 , Chris Hanson wrote:

At 1:46 AM +0200 8/14/02, Jens Bauer wrote:
(Note: I find it kind of annoying that the subject-line sometimes goes
crazy like this:
"Re:_=3D=3FUS-ASCII=3FQ=3FRe:=5F=3D3D=3D3FWINDOWS-
1 252=3D3FQ=3D3FStupid=3D5Fnewbie=3D5
Fque_=3F=3D_stion=5F=3D97=5Fdetermine=5Fi???????Re:_=3D=3FUS-
ASCII=3FQ=3F"

Is it some Webmail service that does this, or is it an email client ?
-Who can read that anyway ?)

The sender's mail client is using MIME header encoding. This encodes a header that contains a character set other than US-ASCII.

The problem here doesn't seem to be the sender's mail software. If that software knows that a header needs to be encoded as quoted printable, why would it "encode" the '=' and '?' tokens? If it does, it's a serious bug, right?

Or is there a header or another feature in the MIME standard stating that all (or some) of the other headers in the message, in it's entirety, should be interpreted as quoted printable?

If it's not the sender's mail software then someone else apparently decided to encode the whole subject header as quoted printable, ie 'Re:_=3D=3FUS-ASCII...' from the example above should really read 'Re: =?US-ASCII...'. Who?

I also noted that in a recent message posted by Jan Van Boghout the quoted printable encoded header seem to be broken. This is what Mail.app tells me the header looks like:

Subject: =?WINDOWS-1252?Q?Re:_Stupid_newbie_question_=97_determine_if_in\n
t?= =?WINDOWS-1252?Q?eger_is_even_or_odd?=\n

Mail.app doesn't decode the quoted printables in this header.

I sent a mail to myself (telnet'ing directly to our mail server) with the subject above except I first removed the newlines. Mail.app decoded it properly.

I replied to this mail using Mail.app and the resulting subject line could still be read. Mail.app split and folded the header as follows:

Subject: =?WINDOWS-1252?Q?Re:_Stupid_newbie_question_=97_determine_if_in?=\n
=?WINDOWS-1252?Q?teger_is_even_or_odd?=\n

Looking at the headers of Jan's mail message it seems he is using Mail.app too. So who's to blame? One of the mail exchangers between Jan, Apple and me? It appears it could be anyone of the following:

asmtp02.mac.com (Netscape Messaging Server 4.15)
smtp-relay01.mac.com (8.12.1/8.12.1/1.0)
smtpout.mac.com (8.12.1/8.10.2/1.0)
lists.apple.com (8.11.6/8.11.6)
lists.apple.com (8.11.6/8.11.6)
oops.se (CommuniGate Pro SMTP 3.5.6)

RFC 822 and friends are a mess...

Cheerio,
Malte
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re(2): Stupid newbie question - determine if integer is even or odd (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Variable argument list not working
  • Next by Date: Re: Multiple windows B from a window A
  • Previous by thread: Re(2): Stupid newbie question - determine if integer is even or odd
  • Next by thread: Re: Stupid newbie question - determine if integer is even or odd
  • Index(es):
    • Date
    • Thread