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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -