« imap_utf7_decode
imap_utf8 »

imap_utf7_encode

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_utf7_encode — ISO-8859-1 文字列を修正版 UTF-7 テキストに変換する

説明

function imap_utf7_encode(string $string): string

string を修正版 UTF-7 テキストに変換します。

この関数は、ある種の非 ASCII 文字を含むメールボックス名をエンコード する際に必要となります。

パラメータ

string

ISO-8859-1 文字列。

戻り値

string を修正版 UTF-7 でエンコードした文字列を返します。 このエンコーディングについては » RFC 2060, section 5.1.3 で定義されています。

参考

  • imap_utf7_decode() - 修正版 UTF-7 エンコードされた文字列をデコードする

関連キーワード:
修正   imap   テキスト   encode   エンコード   decode   メールボックス   エンコーディング   section   参考   デコード
関連する関数・ページ:
function.imap-utf7-decode   function.imap-utf8-to-mutf7   function.imap-mutf7-to-utf8   function.imap-utf8   function.imap-base64   function.imap-is-open