note 58379 added to function.imap-utf7-encode
| From: | php-general at lists dot php dot net | Date: | Wed, 02 Nov 2005 11:01:07 +0000 |
| Subject: | note 58379 added to function.imap-utf7-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97975@lists.php.net to get a copy of this message | ||
Note that php4 (4.4.0) will encode IMAP folders in a way that no other program will be able to
decode them back.
$ php4 <<EOF
> <?php
> echo "ENCODED: " . imap_utf7_encode("Ü") . "\\n";
> ?>
> EOF
ENCODED: &w5w-
Now try to decode the result string ("&w5w-") using e.g. javamail or python's
imaplib, or if you don't like these languages - create an IMAP folder using PHP and try to
display it in an IMAP client (mutt, thunderbird, outlook, whatever...)
----
Manual Page -- http://www.php.net/manual/en/function.imap-utf7-encode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58379
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58379&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58379&report=yes
Search -- http://master.php.net/manage/user-notes.php