PHP - Manual: imap_utf8_to_mutf7
2024-11-14
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
imap_utf8_to_mutf7 — Encode a UTF-8 string to modified UTF-7
$string
): string|falseEncode a UTF-8 string to modified UTF-7 (as specified in RFC 2060, section 5.1.3).
注意:
This function is only available, if libcclient exports utf8_to_mutf7().
string
A UTF-8 encoded string.
Returns string
converted to modified UTF-7,
或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/function.imap-utf8-to-mutf7.php