When I store a NSString inside some NSDictionary and log that dictionary to the console like this:
NSString *someString = @"Münster";
NSDictionary *someDict = [ NSDictionary dictionaryWithObjectsAndKeys:
someString, @"thestring" ];
NSLog ( @"someDict: %@", [ someDict description ] );
The console output looks like this:
unicode_test[3621:903] someDict:
{
thestring = "M\U00fcnster";
}
with the string's unicode character escaped. Is there any method to convert a NSString to this escaped representation?