我正在使用 phpQuery 从 url 中提取数据。现在,当我从 url 中提取数据时,我会得到一些不正确或特殊的字符来代替文本。
Like: ctype html> , ¢Â�Â�
我的脚本:-
PhpQueryComponent::newDocumentFileHTML($file,$charset='utf-8');
我的输出是: -
ctype html> It's as if we created some text and blah just for you, the small business owner
or self-employed carpenter, gardener, caretaker, artist or shop owner who needs all the
help you can get. On Sfsfsdfe, you can create your own website so your clients can
find you. Display all your products in photo albums, describe your services or
experience, and put up news and special events to create buzz around your business.
¢Â�Â� the list is endless, and so are the tasks linked to running them. With fdsfsdf
albums � there's a function for your every need. Communicate directly on the page
and keep each other up to date.
我有 useutf-8 ,但它仍然无法正常工作。谁能告诉我为什么会显示这个错误。??提前致谢..