php编码问题 获取编码信息 $encoding = mb_detect_encoding($keytitle, array("ASCII","UTF-8","GB2312","GBK","BIG5")); echo urldecode($url);