//Unicode转UTF-8
- (NSString*) replaceUnicode:(NSString*)aUnicodeString{
NSString *tempStr1 = [aUnicodeString stringByReplacingOccurrencesOfString:@"\\u"withString:@"\\U"];
NSString *tempStr2 = [tempStr1 stringByReplacingOccurrencesOfString:@"\""withString:@"\\\""];
NSString *tempStr3 = [[@"\"" stringByAppendingString:tempStr2] stringByAppendingString:@"\""];
//tempStr3现在的值为 @"\"\\ue670\""
NSData *tempData = [tempStr3 dataUsingEncoding:NSUTF8StringEncoding];
NSString *returnStr = [NSPropertyListSerialization propertyListWithData:tempData options:NSPropertyListImmutable format:NULL error:NULL];
//通过NSPropertyListSerialization将NSData数据对象归档提取成String,这时候的returnStr就是 @"\ue670"了
return [returnStr stringByReplacingOccurrencesOfString:@"\\r\\n"withString:@"\n"];
}