Emoji in NSTextView
I'm writing a Twitter app for Mac OS X. I want to show emoji (people sent them on their iOS devices) in NSTextView. Is this possible on the Mac? If so, how 开发者_如何学JAVAcan I achieve this?
Thank you in advance. Any help would be appreciated.
Kai
Note that iOS and Mac OS X Lion use different unicode code points to represent the same emoji character.
The iOS unicode values are documented here: http://pukupi.com/post/1964/ while the Mac OS X Lion ones are documented here: http://www.unicode.org/~scherer/emoji4unicode/snapshot/emojidata.pdf (actually both are documented in that .pdf. OS X 10.7 Lion uses the proposed Unicode standard encoding, while iOS 5 uses the SoftBank column.)
For example, a simple smiley face is i.e. \xe415 on iOS but it is
精彩评论