I encode a string using NSUTF32BigEndianStringEncoding
like this:
NSString *utf32BigEndianString = [[NSString alloc] initWithFormat:@"%@", [text dataUsingEncoding:NSUTF32BigEndianStringEncoding]];
For example, this would give me the unicode <00000041>
for the string A
. So how can I got the string A
back from the unicode <00000041>
. Thank you very much.