UILabel displaying Unicode Characters

Posted by Lee Armstrong on Stack Overflow See other posts from Stack Overflow or by Lee Armstrong
Published on 2009-08-25T16:54:58Z Indexed on 2010/06/15 14:02 UTC
Read the original article Hit count: 324

Filed under:
|
|

Hello,

I have an NSString that then sets a UILabel. This contains unicode such as...

E = MC Hammer\U00ac\U2264

and complete ones such as

\U2013\U00ee\U2013\U00e6\U2013\U2202\U2013\U220f\U2013\U03c0 \U2013\U00ee\U2013\U220f\U2013\U03c0\U2013\U00aa\U2013\U221e\U2014\U00c5

These are not displaying correctly, is there anything I need to do to parse these at all?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about unicode