array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.imap-utf7-encode.php', 1 => 'imap_utf7_encode', ), 'up' => array ( 0 => 'ref.imap.php', 1 => 'IMAP Functions', ), 'prev' => array ( 0 => 'function.imap-utf7-decode.php', 1 => 'imap_utf7_decode', ), 'next' => array ( 0 => 'function.imap-utf8-to-mutf7.php', 1 => 'imap_utf8_to_mutf7', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imap/functions/imap-utf7-encode.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
imap_utf7_encode — Converts ISO-8859-1 string to modified UTF-7 text
Converts string
to modified UTF-7 text.
This is needed to encode mailbox names that contain certain characters which are not in range of printable ASCII characters.
string
An ISO-8859-1 string.
Returns string
encoded with the modified UTF-7
encoding as defined in » RFC 2060,
section 5.1.3.