Locale-Sensitive Objective-C Method
UIKit NSString
NSString isEqualToString
Internationalization (I18n) Method Overview
This method involves literal Unicode character comparison.
Click here
for additional Apple Developer Documentation details.
I18n Issues
If one previously tried to coerce the string or performed a folding operation, the comparison may fail.
Generally one needs to pass in locale , encoding or language to ensure
that any culture-dependent conversion is done properly.
If you determine that the call is i18n-safe, you can use Globalyzer's
Ignore Comment functionality to ensure that it isn't
picked up in a subsequent scan.
For information about Objective-C Internationalization, click here.
|