PHP 把GBK编码转换为UTF8

//把GBK编码转换为UTF8
$name="勿以善小而不为";
$name=iconv("GBK", "UTF-8", $name);

 

转载于:https://www.cnblogs.com/tmdsleep/p/4661999.html

你可能感兴趣的:(php)