小白教程
所有教程
关于
Search
172.69.6.103
172.69.6.103
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Func string quoted printable decode”的源代码
本页内容
上一节:
Func_string_printf
下一节:
Func_string_quoted_printable_encode
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:quoted_printable_decode()}}[[分类:PHP字符串函数参考手册|41]] = PHP quoted_printable_decode() 函数 = [[:分类:PHP字符串函数参考手册]] 对经过 quoted-printable 编码后的字符串进行解码,返回 8 位的 ASCII 字符串: <sample title="" desc="" lang="php" hererun="1"> <?php $str = "Hello=0Aworld."; echo quoted_printable_decode($str); ?> </sample> 上面代码的浏览器输出如下: <sample title="" desc="" lang="php" hererun="1"> Hello world. </sample> 上面代码的 HTML 输出如下(查看源代码): <sample title="" desc="" lang="php" hererun="1"> Hello world. </sample> == 定义和用法 == quoted_printable_decode() 对经过 quoted-printable 编码后的字符串进行解码,返回 8 位的 ASCII 字符串 '''提示:'''经过 quoted-printable 编码后的数据与通过邮件传输进行修改的不一样。一个完全 US-ASCII 的文本可进行 quoted-printable 编码,用来确保通过文字翻译或线包网关进行消息传递时数据的完整性。 == 语法 == <pre> quoted_printable_decode(string) </pre> {| class="table table-striped table-hover" ! 参数 ! 描述 |- | string | 必需。规定要解码的 quoted-printable 字符串。 |} == 技术细节 == {| class="table table-striped table-hover" | 返回值: | 返回 8 位的 ASCII 字符串。 |- | PHP 版本: | 4+ |} [[:分类:PHP字符串函数参考手册]]
返回至“
Func string quoted printable decode
”。
上一节:
Func_string_printf
下一节:
Func_string_quoted_printable_encode