当前位置: 首页> 函数类别大全> quoted_printable_encode

quoted_printable_encode

将8位字符串转换为带引号的可打印字符串
名称:quoted_printable_encode
分类:字符串
所属语言:php
一句话介绍:把 8 位字符串转换为 quoted-printable 字符串。

定义和用法

quoted_printable_encode() 函数把 8 位字符串转换为 quoted-printable 字符串。

提示:经过 quoted-printable 编码后的数据与通过邮件传输进行修改的不一样。完全 US-ASCII 的文本可进行 quoted-printable 编码,以确保通过文字翻译或线包网关进行消息传递时数据的完整性。

语法

quoted_printable_encode(string)
参数 描述
string 必需。规定要转换的 8 位字符串。
同类函数
  • 使用 uuencode 编码一个字符串 convert_uuencode

    convert_uuencode

    使用uuencode编码一个字符串
  • 对字符串执行rot13转换 str_rot13

    str_rot13

    对字符串执行rot13转换
  • 标记分割字符串 strtok

    strtok

    标记分割字符串
  • 将数字格式化成货币字符串 money_format

    money_format

    将数字格式化成货币字符串
  • 获取字符串长度 strlen

    strlen

    获取字符串长度
  • 不区分大小写的strstr stristr

    stristr

    不区分大小写的strstr
  • 将特殊字符转换为HTML实体 htmlspecialchars

    htmlspecialchars

    将特殊字符转换为HTML实体
  • 返回有关字符串中使用的单词的信息 str_word_count

    str_word_count

    返回有关字符串中使用的单词的信息
热门文章