PHP quoted_printable_encode() 函式
❮ PHP 字串參考
定義和用法
quoted_printable_encode() 函式將一個 8 位字串轉換為一個 quoted-printable 字串。
提示:以 quoted-printable 格式編碼的資料在郵件傳輸過程中不太可能被修改。完全是 US-ASCII 的文字可以被編碼為 quoted-printable,以確保在訊息透過字元轉換或換行閘道器時資料的完整性。
語法
quoted_printable_encode(string)
引數值
引數 | 描述 |
---|---|
string | 必需。指定要轉換的 8 位字串 |
技術詳情
返回值 | 返回轉換後的字串 |
---|---|
PHP 版本 | 5.3.0+ |
❮ PHP 字串參考