PHP Conference Japan 2024

imap_qprint

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

imap_qprint將 quoted-printable 字串轉換為 8 位元字串

說明

imap_qprint(字串 $string): 字串|false

根據 » RFC2045 第 6.7 節,將 quoted-printable 字串轉換為 8 位元字串。

參數

字串

Quoted-Printable 字串

回傳值

回傳一個 8 位元字串,若失敗則回傳 false

參見

  • imap_8bit() - 將 8 位元字串轉換為 Quoted-Printable 字串

新增註解

使用者貢獻的註解 1 則註解

4
bernard at bmpsystems dot com
24 年前
當 Quoted-Printable 字串包含不帶字元十六進位碼的「=」時,這個函式似乎有個錯誤。
我改用一般的 quoted_printable_decode。
To Top