开发者

iphone - how to remove the html encoded string from nsstring?

I obtain some text from Internet. There are sometimes characters like "&a m p;", "&q u o t;", etc in teh text.

I guess they are some开发者_Python百科 kind of unicode characters in Html. they are HTML encoded string, thanks for jason to point out.

How should I filter all these kinds of things out of the text? I don't want any HTML related code characters. by the way, I am not talking about the HTML tags in the text, only these kinds of unicode things.

thanks


This was answered here:

Converting & to & in Objective-C

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜