views:

99

answers:

0

I'm using NSString that is a combination of "japanese" and "english" characters. All are two byte (multi byte) characters. From a webservice I'm receiving a string that is also a combination of "japanese" and "english" characters, but as far as I know english characters in that string are one byte characters. I want to compare my string with received string and have to perform some actions. How can I compare multibyte with wide character strings?