-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
转换编码格式报错 #5
Comments
后续:应该编码就是UTF-8,导致报错。 |
QueryList内置的转码比较简单,并不能适用于复杂情况,请手动转码HTML然后再把HTML传给Query方法 |
@jae-jae 和内置的转码方法是一样的,使用的是iconv。 |
@jae-jae 问题已经解决了,可以关闭了。 问题:抓取页面乱码问题 方案一:内置的转码方法 方案二:手动转码HTML,然后再把HTML传给Query方法。 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本:3.1.2
php版本:5.3.27
处理:GB2312 转 UTF-8
报错截图:
不影响正常执行
相关代码:
The text was updated successfully, but these errors were encountered: