Performing quick check on a string, to quickly determine if the string is in a particular normalization format. This is a wrapper for unorm_quickCheck(), using a UnicodeString.
Three types of result can be returned UNORM_YES, UNORM_NO or UNORM_MAYBE. Result UNORM_YES indicates that the argument string is in the desired normalized format, UNORM_NO determines that argument string is not in the desired normalized format. A UNORM_MAYBE result indicates that a more thorough check is required, the user may have to put the string in its normalized form and compare the results.
|source ||string for determining if it is in a normalized format |
|mode ||normalization format |
|status ||A reference to a UErrorCode to receive any errors |
- UNORM_YES, UNORM_NO or UNORM_MAYBE
- See also:
- isNormalized ICU 2.0
Definition at line 769 of file normlzr.h.
Referenced by quickCheck(), and ucol_getTailoredSet().