+
95
-

回答

用iconv转换

<?php
$result = iconv('UTF-16LE' , 'UTF-8//IGNORE' , $str);
if (false === $result)
{
throw new Exception('无法转换');
}
?>


网友回复

我知道答案,我要回答