U_CAPI UCollator* ucol_openRules ( const UChar *rules, int32_t rulesLength, UNormalizationMode mode, UCollationStrength strength, UErrorCode *status)

Open a UCollator for comparing strings

Documentation

Open a UCollator for comparing strings. The UCollator may be used in calls to ucol_strcoll.
Returns:
A pointer to a UCollator, or 0 if an error occurred.
Parameters:
rules - A string describing the collation rules.
rulesLength - The length of rules, or -1 if null-terminated.
mode - The normalization mode; one of UCOL_NO_NORMALIZATION, UCOL_CAN_DECOMP, UCOL_COMPAT_DECOMP, UCOL_CAN_DECOMP_COMPAT_COMP, UCOL_COMPAT_DECOMP_CAN_COMP, UCOL_DEFAULT_NORMALIZATION
strength - The collation strength; one of UCOL_PRIMARY, UCOL_SECONDARY, UCOL_TERTIARY, UCOL_IDENTICAL,UCOL_DEFAULT_STRENGTH
status - A pointer to an UErrorCode to receive any errors
See Also:
ucol_open

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de