Xcode Console log incorrectly displaying utf8 data

Originator:jehiah
Number:rdar://11148883 Date Originated:29-Mar-2012 03:39 PM
Status:dupe/10908177 Resolved:
Product:Xcode Product Version:4.3.1
Classification: Reproducible:Always
 
29-Mar-2012 03:39 PM Jehiah Czebotar:
Summary:

When logging utf8 data with `NSLog` the data shows the proper unicode characters when logged from the Simulator, but shows individual utf8 code points when on an actual device.

Steps to Reproduce:

In an iPhone app

1)    NSLog(@"\u1260\u1323\u121d");
2)    compile and run on a device (i used a iOS 5.1 device)

Expected Results:

The console output contains this:
> 2012-03-29 15:35:02.031 MyApp[13362:707] ·በጣም

Actual Results:

The console output contains this:
> 2012-03-29 15:35:02.031 MyApp[13362:707] በጣም

Regression:

This worked correctly in Xcode 4.2

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!