PHP怎么把经过UTF-8编码的中文字符转换成正常的中文

问题的场景:

      html 为utf-8编码<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

     form 产生一些中文输入项提交到后台;

    后台通过file_get_contents('php://input');接收

    使用var_dump,echo 等显示接收字符串为 utf-8形式,通过iconv()转换,结果依然如此;

    后使用urldecode() 后,能正常显示中文。前后台程序都是使用zend studio环境。

原文地址:https://www.cnblogs.com/xihong2014/p/5300090.html