8 May 2008 13:12
header un-folding & encoded headers
Paul Smith <paul <at> pscs.co.uk>
2008-05-08 11:12:23 GMT
2008-05-08 11:12:23 GMT
I'm just struggling slightly to work out how you're meant to handle the following situation. It seems a bit inconsistent, so I want to check I'm interpreting it right. If I have a header Subject: hello there (no space after 'hello' and one space before 'there') I should unwrap that to Subject: hello there (one space between 'hello' and 'there' - ie just remove the CRLF as stated in RFC 2822 2.2.3) Yes? ---- If I have a header Subject: =?us-ascii?Q?hello?= =?us-ascii?Q?there?= (two encoded words with no spaces in them, and a space between them) I should decode that to Subject: hello there(Continue reading)
RSS Feed