PHP 教程 PHP utf8_decode() 函数

malcolm · 2022-03-09 16:05:59 · 热度: 10

定义和用法

utf8_decode() 函数把 UTF-8 字符串解码为 ISO-8859-1。

该函数把通过 utf8_encode() 函数编码的 ISO-8859-1 字符串进行解码,转换成单字节的 ISO-8859-1 字符串。

如果成功,该函数则返回解码字符串。如果失败,则返回 FALSE。

语法

utf8_decode(string)

参数 描述
string 必需。规定要解码的字符串。

查看更多 PHP XML Parser 函数

猜你喜欢:
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册