When i use CGContextShowTextAtPoint to draw none english characters,such as Chinese,it shows blocks on my iPhone.
Any one can tell me how to solve it?Code:CGContextRef context; context = UICurrentContext(); CGContextShowTextAtPoint (context, 40, 50, [NSString stringWithUTF8String:@"中国"], 10); CGContextShowTextAtPoint (context, 100, 100, [NSString stringWithUTF8String:"\xe4\xb8\xad\xe6\x96\x87"], 10);
Thanks in advance!



LinkBack URL
About LinkBacks








Reply With Quote
Bookmarks