iphone - Xcode debugger displays string correctly but console does not -


when hover on nsstring in debugger, apostrophes , special characters show correctly, when print nsstring console letters , numbers print fine before special characters scrambled.

i'm creating string array of chars

[code]char utf[10]; string = [nsstring stringbyappendingformat:@"%c",utf[i]";[/code]

if try create string via stringwithutf8string:&utf[i]; unrecognized selector sent instance [nscfconstantstring initwitjbytes....

special characters printed utf string.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -