位置: 编程技术 - 正文

PHP:utf8_decode()的用法_XML解析器函数(php utf8转gb2312)

编辑:rootadmin
utf8_decode

推荐整理分享PHP:utf8_decode()的用法_XML解析器函数(php utf8转gb2312),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:php unicode,phputf8编码,php utf8转unicode,php utf8转unicode,php unicode,php设置utf编码,php设置utf8编码,php utf-8,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4, PHP 5)

PHP:utf8_decode()的用法_XML解析器函数(php utf8转gb2312)

utf8_decode — 将用 UTF-8 方式编码的 ISO--1 字符串转换成单字节的 ISO--1 字符串。

描述 string utf8_decode ( string $data )

该函数将用 UTF-8 编码的数据解码为 ISO--1 编码。

请参阅 utf8_encode() 以查看关于 UTF-8 编码的解释。

PHP:xml_error_string()的用法_XML解析器函数 xml_error_string(PHP4,PHP5)xml_error_string获取XML解析器的错误字符串说明stringxml_error_string(int$code)根据给定的code获得XML解析器错误字符串。参数code由xml_get_error_c

PHP:xml_get_current_column_number()的用法_XML解析器函数 xml_get_current_column_number(PHP4,PHP5)xml_get_current_column_number获取XML解析器的当前列号说明intxml_get_current_column_number(resource$parser)获得指定XML解析器当前的列号。

PHP:utf8_encode()的用法_XML解析器函数 utf8_encode(PHP4,PHP5)utf8_encode将ISO--1编码的字符串转换为UTF-8编码描述stringutf8_encode(string$data)该函数将data字符串转换为UTF-8编码,并返回编码后的字符串

本文链接地址:https://www.jiuchutong.com/biancheng/275198.html 转载请保留说明!

上一篇:PHP:xml_get_current_line_number()的用法_XML解析器函数

下一篇:PHP:xml_error_string()的用法_XML解析器函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络