开发者

Encoded characters in NSString

开发者 https://www.devze.com 2023-02-10 07:19 出处:网络
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

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

精彩评论

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