Jack
Jack

Reputation: 3878

Encoded characters in NSString

I'm using the TBXML framework to parse some XML, but am having problems with the returned string values. The problem is that the returned values contain parts such as "£" instead of £, etc. Is there a convenient way to simply convert all of these into the correct characters so that they can be displayed in a UILabel?

Thanks

Upvotes: 0

Views: 408

Answers (1)

Mats Stijlaart
Mats Stijlaart

Reputation: 5098

Maybe this can help you any further: HTML character decoding in Objective-C / Cocoa Touch

You maybe can use HTML entities to make your currency character.

Upvotes: 1

Related Questions