PHP两个经典.传神.高级.神奇的函数.

来源:互联网 发布:java 权限控制 编辑:程序博客网 时间:2024/03/29 14:27

字符编码转换:$utf8 = iconv('gb2312','utf-8',$str);

获得字符的编码形式:mb_detect_encoding;