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

Fix a crash when parsing HTML with XPath. #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wuqiong
Copy link

@wuqiong wuqiong commented Sep 4, 2015

some html data declared in utf8,but it contains some unicode char.
hpple's XPathQuery.m:31,40,44 will lead to crash(set nil object to dictionary).

http://www.qiushibaike.com/text   the data from this url sometimes contains unicode char in utf-8 content.

    some html data delcared in utf8,but it contains some unicode char.
    hpple's XPathQuery.m:31,40,44 will lead to crash(set nil object to dictionary).
@wuqiong
Copy link
Author

wuqiong commented Sep 20, 2015

what content did you parsed?

@mandelbrot89
Copy link

snip20150928_1
如图,一些字符变成了乱码

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