1

ios5 can input emoji ,i receive the text with some emoji from a UITextField and show them on a UILabel,but the text in the Label are Garbage like "? ?".how can show the text correctly.

4

1 に答える 1

0

iOS と Mac OS X Lion では、異なる Unicode コード ポイントを使用して同じ絵文字を表すことに注意してください。

iOS Unicode 値はhttp://pukupi.com/post/1964/に記載されていますが、Mac OS X Lion 値は OS X キャラクター ビューアーに記載されています。

たとえば、単純なスマイリー フェイスは  (iOS では \xe415) ですが、Mac OS では

于 2011-12-24T19:55:03.847 に答える