加上这个encoding(‘gb2312’,‘gb2312’);   转码就行

$html = QueryList::get('http://www.gember_alllist.asp?page=' . $i)->encoding('gb2312','gb2312');

如果上述方法无效
则在后端  php 方法上加上    header(“Content-type: text/html; charset=gb2312”);

或者使用   removeHead()  方法移除html头部
data=QueryList::html(data = QueryList::html(html)->rules($rule) ->removeHead()->query()->getData();

微信小程序

TAG标签: 微信小程序微信繁体字

http://www.xiaochengxub.com/read-106637.html