Objective-C: How to replace HTML entities? [duplicate]
This question already has an answer here: Objective C HTML escape/unescape 14 answers I'm getting text from Internet and it contains html entities (i.e. ó = ó). I want to show this text into a custom iPhone cell. I've tried to use a UIWebView into my custom cell but I prefer to use a multiline UILabel. The problem is I can't find any way of replacing these HTML entities. Check out my NSString category for HTML . Here are the methods available: - (NSString *)stringByConvertingHTMLToPlainText; - (NSString *)stringByDecodingHTMLEntities; - (NSString *)stringByEncodingHTMLEntities; - (NSString *