编码转换

 $encoding  = mb_detect_encoding($string, array("ASCII",'UTF-8′,"GB2312′,"GBK",'BIG5′)); 

 

iconv

posted @ 2016-05-06 09:36  bodhicitta  阅读(135)  评论(0编辑  收藏  举报