So I have this data being returned as nil with NSURLSession that had one field with an accented e. When the accented e was removed the data return works just fine.
Is there any way to have this work with the possibility of non-standard english characters being returned?
I am using the task format:
let url = NSURL(string: "www.test.com")
var session = NSURLSession.sharedSession()
let loadDataTask = session.dataTaskWithURL(url!, completionHandler: { (data: NSData!, response: NSURLResponse!, error: NSError!) -> Void in
let string1 = NSString(data: data, encoding: NSUTF8StringEncoding)
println(string1)
}