Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加完整的编码方式属性,DOMDocument::loadHTML才能正确识别UTF-8 #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

guotd
Copy link

@guotd guotd commented Mar 30, 2017

比如,demo中京华网页面(http://news.jinghua.cn/20161205/f256601.shtml) 抓取会进到这个分支,不使用完整属性抓取结果中文是乱码。

@owner888
Copy link
Owner

谢谢提醒,已经更新代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants