+ (
NSString
*)replaceUnicode:(
NSString
*)unicodeStr
{
NSString
*tempStr
1
= [unicodeStrstringByReplacingOccurrencesOfString:
@"\u"
withString:
@"\U"
];
NSString
*tempStr
2
= [tempStr
1
stringByReplacingOccurrencesOfString:
@""
"withString:
@"\"
"];
NSString
*tempStr
3
= [[
@""
"stringByAppendingString:tempStr
2
]
stringByAppendingString
:
@""
"];
NSData
*tempData = [tempStr
3
dataUsingEncoding:NSUTF
8
StringEncoding];
NSString* returnStr = [NSPropertyListSerializationpropertyListFromData:tempData
mutabilityOption
:
NSPropertyListImmutable
format
:
NULL
errorDescription
:
NULL
];
NSLog(
@"%@"
,returnStr);
return
[returnStrstringByReplacingOccurrencesOfString:
@"\r\n"
withString:
@"
"
];
}