Re: display chinese on NSTextView
Re: display chinese on NSTextView
- Subject: Re: display chinese on NSTextView
- From: j o a r <email@hidden>
- Date: Fri, 26 Jul 2002 09:45:26 +0200
Could this perhaps work? You would need to replace the unicode character
value in this code snippet with the unicode value for the Chinese
character, or range of characters, you would like to display - this
example only prints the page-down character representation.
- (void) printPageUpCharacter
{
unichar unicodeCharacters[1] = {0x21de};
NSString *unicodeCharacterString = [NSString stringWithCharacters:
unicodeCharacter length: 1];
[myTextView setString: unicodeCharacterString];
}
j o a r
On Friday, July 26, 2002, at 09:36 , Chong Hiu Pun wrote:
How can I display Chinese Character on NSTextView?Thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.