I have a dictionary of NSData values where I am passing the different values into their variables that I later use to display in tableviewcells etc.
However I have some international characters that are not displaying correctly and I would like to encode the data I am passing to a NSString but I am not sure how to do it because of the circumstances.
This is what I am currently doing.
manString = [dict valueForKey:@"MAN"];
The dict contains all of the data that i am using. any help would be appreciated
You can do this:
Where
encodingshould be a value fromNSStringEncodingenum, you can find it inNSString.h, just choose encoding you need, usually it isNSUTF8StringEncoding, but I guess not in your case.