quoted_printable_decode 将 quoted-printable 字符串转换为 8-bit 字符串

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

quoted_printable_decode

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

quoted_printable_decode将 quoted-printable 字符串转换为 8-bit 字符串

说明

quoted_printable_decode(string $str): string

该函数返回 quoted-printable 解码之后的 8-bit 字符串 (参考 » RFC2045 的6.7章节,而不是 » RFC2821 的4.5.2章节,so additional periods are not stripped from the beginning of line)

该函数与 imap_qprint() 函数十分相似,但是该函数不需要依赖 IMAP 模块。

参数

str

输入的字符串。

返回值

返回的 8-bit 二进制字符串。

参见

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