I have strings that I download from the web that look like this:
משה פרץ
How can I get the real string from this string?
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.
The string you are getting from the web contains HTML entities (i.e:
מ). You could manually detect and capture the hexadecimal values (ie:0x5DEin this case) and feed it to a NSMutableString.This other question might have other useful options for you: Objective-C: How to replace HTML entities?