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
精彩评论