priore

Convert Unicode string into readable string

Dec 10th, 2013
567
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NSString *input = @"\\u5404\\u500b\\u90fd";
  2. CFStringTransform((__bridge CFMutableStringRef)input, NULL, CFSTR("Any-Hex/Java"), YES);
  3. NSLog(@"Readable string: %@", input);
RAW Paste Data