IBitwiseCollation performs bitwise (language-insensitive) string comparison, directly comparing the Unicode double-byte character values. Double-byte character sets are used for handling languages such as Japanese, Chinese, and Korean, which contain more symbols than can be represented by the 256 characters of the single-byte character set.
To perform a bitwise comparison:
// Create a locale key for the POSIX locale
ILocaleKey cLocale("C");
// Create the IBitwiseCollation object
ICollation* order = ICollation::createCollation(cLocale);
if (order->isEqual(text1, text2))
// strings are equal
else
// strings are not equal
delete order;
![]()
Overview of Locale Classes
Locale Names
Collation Classes
Ordering
Strength
DBCS and National Language
Support
Double-Byte Character Set
Support