Convert UTF-8 encoded NSData to NSString
Asked 07 September, 2021
Viewed 2.3K times
  • 48
Votes

I have UTF-8 encoded NSData from windows server and I want to convert it to NSString for iPhone. Since data contains characters (like a degree symbol) which have different values on both platforms, how do I convert data to string?

7 Answer