note 27520 added to function.imap-8bit
| From: | php dot net at werner-ott dot de | Date: | Mon, 09 Dec 2002 20:45:41 +0000 |
| Subject: | note 27520 added to function.imap-8bit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40625@lists.php.net to get a copy of this message | ||
A comment on the "split-after-75-characters" phenomenon:
By splitting lines up after 75 characters, the function's behaviour is complying to RFC2047
(http://www.ietf.org/rfc/rfc2047.txt) (which specifies a protocol for the representation of
non-ASCII text in message headers), section "2. Syntax of encoded-words".
A so called 'encoded word' has the following format:
encoded-word = "=?" charset "?" encoding "?" encoded-text
"?="
An 'encoded-word' may not be more than 75 characters long, including 'charset',
'encoding', 'encoded-text', and delimiters. If it is desirable to encode more
text than will fit in an 'encoded-word' of 75 characters, multiple
'encoded-word's (separated by CRLF SPACE) may be used.
hth
WOT
--
http://www.php.net/manual/en/function.imap-8bit.php
http://master.php.net/manage/user-notes.php?action=edit+27520
http://master.php.net/manage/user-notes.php?action=delete+27520
http://master.php.net/manage/user-notes.php?action=reject+27520