Skip to content

Comments

Fix a crash when parsing HTML with XPath.#65

Open
wuqiong wants to merge 1 commit intotopfunky:masterfrom
Diveinedu-CN:master
Open

Fix a crash when parsing HTML with XPath.#65
wuqiong wants to merge 1 commit intotopfunky:masterfrom
Diveinedu-CN:master

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