note 96643 added to function.imap-utf8
| From: | tomlove at gmail dot com | Date: | Tue, 09 Mar 2010 18:59:40 +0000 |
| Subject: | note 96643 added to function.imap-utf8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166837@lists.php.net to get a copy of this message | ||
This function strictly observes parts of RFC 2047 to the extent that it may not decode encoded-words
produced by non-compliant composing agents.
1. It is strict about a 76-character maximum length for encoded-words. Gmail may produce an
encoded-word longer than this, and this will be passed through without decoding.
2. It is strict about the rule that encoded-words be separated by linear-white-space from adjacent
text. Encoded-words not so separated will be ignored.
3. Invalid "B" encodings will cause this function to return without decoding ANY
encoded-words in the string (including any valid ones).
But...
3. Invalid "Q" encodings are decoded with invalid characters (e.g. > 127) still in
place.
The advantage of this function over mb_decode_mimeheader() is that it will decode any character set,
including non-existent ones (by assuming UTF-8).
----
Server IP: 69.147.83.197
Probable Submitter: 41.145.99.155
----
Manual Page -- http://www.php.net/manual/en/function.imap-utf8.php
Edit -- https://master.php.net/note/edit/96643
Del: integrated -- https://master.php.net/note/delete/96643/integrated
Del: useless -- https://master.php.net/note/delete/96643/useless
Del: bad code -- https://master.php.net/note/delete/96643/bad+code
Del: spam -- https://master.php.net/note/delete/96643/spam
Del: non-english -- https://master.php.net/note/delete/96643/non-english
Del: in docs -- https://master.php.net/note/delete/96643/in+docs
Del: other reasons-- https://master.php.net/note/delete/96643
Reject -- https://master.php.net/note/reject/96643
Search -- https://master.php.net/manage/user-notes.php