Objective-C Tips & Trick - Prioregroup.com
[Objective-C] Convert Unicode string into readable string
       
back

NSString *input = @"\\u5404\\u500b\\u90fd";
CFStringTransform((__bridge CFMutableStringRef)input, NULL, CFSTR("Any-Hex/Java"), YES);
NSLog(@"Readable string: %@", input);






Copyright © 1996-2018 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.
prioregroup.com