How to convert a NSString to UTF-8 format string in iphone sdk?
问题 I have localization in my app(english,spanish,italian).The client sent me strings files but some characters are strange how do i correct them? i have figured out that the client used Mac OS Roman encoding how do i convert this to utf-8. for example Nürnberg is converted into N√ºrnberg when client send me now i want to reconvert it. 回答1: If you have a properties file with all of the strings... you can load them in and read them with any of these (from NSString's Documentation): – initWithBytes