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
Post a Comment