开发者

Encoded characters in NSString

I'm using the TBXML framework to parse some XML, but am having pr开发者_如何学Coblems 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


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜