After much grief I have figured this out. Use this.
NSString *correctString = [NSString stringWithCString:[utf8String cStringUsingEncoding:NSISOLatin1StringEncoding] encoding:NSUTF8StringEncoding];
More Related Contents:
- iPhone/iOS JSON parsing tutorial [closed]
- How to send json data in the Http request using NSURLRequest
- JSON and Core Data on the iPhone
- Parsing JSON dates on IPhone
- Comparison of JSON Parser for Objective-C (JSON Framework, YAJL, TouchJSON, etc)
- How to decode the Google Directions API polylines field into lat long points in Objective-C for iPhone?
- How to convert JSON serialized data to NSDictionary
- Using AFNetworking and HTTP Basic Authentication
- Difference between self.ivar and ivar?
- Understanding reference counting with Cocoa and Objective-C
- Objective-c iPhone percent encode a string?
- How do I add a gradient to the text of a UILabel, but not the background?
- Comparing two NSDates and ignoring the time component
- Open Source Cocoa/Cocoa-Touch POP3/SMTP library?
- How do I use CaptiveNetwork to get the current WiFi Hotspot Name
- Just two rounded corners? [duplicate]
- iOS: Access app-info.plist variables in code
- iOS Pinch Scale and Two Finger Rotate at same time
- Core-Data iPhone: could not locate an NSManagedObjectModel
- What does the Xcode 4.2 preference “Support Wirelessly Connected Devices” do?
- Finding Path/Route Between two points on MapKit in iPhone
- Disable Dictation button on the keyboard of iPhone 4S / new iPad
- iOS: Use a boolean in NSUserDefaults
- How to set content size of UIScrollView dynamically
- how to increase font size in UIWebView
- Moving status bar in iOS 7
- How to crop the image using UIBezierPath?
- Removing time components from an NSDate object using Objective C/Cocoa
- Objective c, Memory management of instance members
- How to detect UIKeyboard “backspace” button touch on UITextField? [duplicate]