I have a NSURLConnection set up, but when the data it gets back is ÆØÅ fx. the response data becomes (null) ?
id String = [[NSString alloc] initWithData:connectionData encoding:NSUTF8StringEncoding];
That’s the line saving the response
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you get back the NSData response, you need to convert it to an NSString using appropriate encoding (UTF8 should work for most of the cases). You may try ISO Latin1 encoding if UTF8 is not working.