Possible Duplicate:
UILabels and Unicode
Is there a way to use math symbols in UILabels and UITextField just like the html ÷ × −, ° etc.?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t use the HTML encodings, but you can embed the actual symbols directly into your code or your XIB files as Xcode treats Objective-C source files as Unicode / UTF-8.
To convert a string
myHTMLStringwhich has the encoded symbols, useand use this NSString* category: (Just include “NSString+HTML.m” in your source) https://github.com/mwaterfall/MWFeedParser/blob/master/Classes/NSString+HTML.m