My app contains the special character as β (ie. beta). But it is converted as Œ and its value is shown as \U0152\U2264 in NSLog().
How can i use/replace the original symbol β ?
My code is -
NSString *str = [NSString stringWithUTF8String:"β"];
NSString *temp = [[array2 objectAtIndex:0]valueForKey:@"Class"];
NSString *temp1 = [[array2 objectAtIndex:0]valueForKey:@"Interactions"];
interaction = [temp1 stringByReplacingOccurrencesOfString:str withString:@"β"];
classes = [temp stringByReplacingOccurrencesOfString:str withString:@"β"];
lblClass.text = classes;
lblInteraction.text = interaction;
Thanks.