Created
December 26, 2013 14:35
-
-
Save priore/8134505 to your computer and use it in GitHub Desktop.
Convert Unicode string into readable string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSString *input = @"\\u5404\\u500b\\u90fd"; | |
| CFStringTransform((__bridge CFMutableStringRef)input, NULL, CFSTR("Any-Hex/Java"), YES); | |
| NSLog(@"Readable string: %@", input); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment