quoted_printable_encode 将 8-bit 字符串转换成 quoted-printable 字符串

发表日期:2021-07-01 10:23:22 | 来源: | | 浏览(853) 分类:字符串 函数

quoted_printable_encode

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

quoted_printable_encode将 8-bit 字符串转换成 quoted-printable 字符串

说明

quoted_printable_encode(string $str): string

返回 quoted-printable 格式的字符,该格式由 » RFC2045 6.7.章节里制定。

该函数与 imap_8bit() 函数十分相似,不同的是该函数不需要 IMAP 模块就能运行。

参数

str

输入的字符串。

返回值

返回编码之后的字符串。

参见

集速网 copyRight © 2015-2022 宁ICP备15000399号-1 宁公网安备 64010402001209号
与其临渊羡鱼,不如退而结网
欢迎转载、分享、引用、推荐、收藏。