2条回答 默认 最新
- lyhsdy 2018-11-13 05:48关注
$t = pq('h1#h1title')->text(); $t = mb_convert_encoding($t,'ISO-8859-1','utf-8'); $t = mb_convert_encoding($t,'utf-8','GBK'); echo $t;
解决 无用评论 打赏 举报
$t = pq('h1#h1title')->text();
$t = mb_convert_encoding($t,'ISO-8859-1','utf-8');
$t = mb_convert_encoding($t,'utf-8','GBK');
echo $t;