I\'ve got a problem with the following code:
NSString *strValue=@\"你好\"; char temp[200]; strcpy(temp, [strValue UTF8String]); printf(\"%s\", temp); NSLog(@\"
I know you are probably looking for an answer that will help you understand what's going on.
But this is what you could do to solve your problem right now:
NSLog(@"%@", strValue);