Convert Unicode string into readable string

priore Dec 10th, 2013 494 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand