am trying to compare unicode character in my app ,,
when i use
if([str charcterAtIndex:i] == 'w')
nslog......
it works correctly
but it doesn’t when the letter is an Arabic letter as ‘ب’ !!!
is there a specific way to do so..
thnx
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 should make them UTF-8
and then compare them