array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.imap-utf7-decode.php', 1 => 'imap_utf7_decode', ), 'up' => array ( 0 => 'ref.imap.php', 1 => 'IMAP 関数', ), 'prev' => array ( 0 => 'function.imap-unsubscribe.php', 1 => 'imap_unsubscribe', ), 'next' => array ( 0 => 'function.imap-utf7-encode.php', 1 => 'imap_utf7_encode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/imap/functions/imap-utf7-decode.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_decode — 修正版 UTF-7 エンコードされた文字列をデコードする
修正版 UTF-7 の string
を ISO-8859-1 文字列に
デコードします。
この関数は、ある種の非 ASCII 文字を含むメールボックス名をデコードする際に 必要となります。
string
と同じ内容の文字を ISO-8859-1 でエンコード
した文字列を返します。string
に修正版 UTF-7 として
不正な文字が含まれていた場合、あるいは string
に
ISO-8859-1 文字セットの範囲外の文字が含まれていた場合には false
を返します。