NSString *string1 = @"\u03C0";
NSLog(@"string1: %@", string1); // result of a Pi symbol
NSString *string2 = @"03C0";
NSString *string3 = [@"\\u" stringByAppendingString:string2];
NSLog(@"string3: %@", string3); // result of \u03C0 but need it to be a Pi symbol as well
我认为 string3 会给出与 string1 相同的结果。但它没有。知道如何解决这个问题吗?