Well, I am from Spain and my Last Name is González (with á). I'm trying to get it from the Facebook SDK but what I get is Gonz√°lez instead of González.
Any suggestion?
Well, I am from Spain and my Last Name is González (with á). I'm trying to get it from the Facebook SDK but what I get is Gonz√°lez instead of González.
Any suggestion?
Hey you can try following code :
- (NSString *) decodedString:(NSString *) originalString {
NSString *newString = [NSString stringWithUTF8String:[originalString cStringUsingEncoding:[NSString defaultCStringEncoding]]];
return newString;
}
I hope this will solve your problem. And I am also going to add this code at : iPhone how to write symbol on a label? in my answer.