您现在的位置是:首页 > PHP函数

李清波 2021-06-17 PHP函数 1516 复制当前网址

utf8_decode



PHP utf8_decode() 函数

定义和用法

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


该函数把用 UTF-8 方式编码的 ISO-8859-1 字符串转换成单字节的 ISO-8859-1 字符串。

如果成功,该函数将返回解码字符串;否则返回 false。


语法

utf8_decode(string)


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


文章来源:http://liqingbo.com/blog-892.html

上一篇:utf8_encode

下一篇:wordwrap

评论