I am new to Cocoa development. I am using a .strings file to store Key and Value pairs. The value pairs contain some unicode characters like
"\u5f0a\u793e\u306e\u88fd\u54c1\u3092\u8a66\u3057\u3066\u307f\u308b\u3002"
Im using the below statements to parse the strings file
NSString *fname = [[NSBundle mainBundle] pathForResource:@"fileName" ofType:@"strings"];
NSString *fileText = [NSString stringWithContentsOfFile:fname encoding:NSUTF16StringEncoding error:nil];
NSDictionary *dict= [fileText propertyListFromStringsFileFormat];
NSLog(@"%@",[dict valueForKey:@"key"]);
I am getting ouput without '\' like
"u5f0au793eu306eu88fd"
But I want the output with '\' as exactly in the file.
Please help.