ILocaleKey locale("EN", "UK");
ICollation* order = ICollation::createCollation(locale);
xfmSource = order->transform(sourceString);
xfmTarget = order->transform(targetString);
int oldResult = order->compare(sourceString, targetString);
int newResult = xfmSource.compare(xfmTarget);
if (oldResult == newResult) {
cout << "Transform succeeded.\n";
} else {
cout << "Transform did not succeed. \n";
}
delete order
![]()
Overview of Locales
Overview of Locale Classes
Locale Names
Collation Classes