Language-insensitive collation

To implement language-insensitive comparison functions, use the TBitwiseTextOrder class. The Compare functions for this class compare the Unicode values for the characters in two text strings. The first difference determines the result of the comparison operation.

Because these functions compare Unicode values, they do not recognize secondary and tertiary differences or equivalent Unicode sequences. They interpret any difference as a primary difference, returning only the ETextComparisonResult values kSourceEqual, kSourcePrimaryGreater, and kSourcePrimaryLess.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker