20 #if !UCONFIG_NO_NORMALIZATION
179 #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
226 #if !UCONFIG_NO_NORMALIZATION
483 #define UNORM_INPUT_IS_FCD 0x20000
490 #define U_COMPARE_IGNORE_CASE 0x10000
492 #ifndef U_COMPARE_CODE_POINT_ORDER
499 #define U_COMPARE_CODE_POINT_ORDER 0x8000
UNormalizationCheckResult unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode)
Performing quick check on a string; same as unorm_quickCheck but takes an extra options parameter lik...
"Fast C or D" form.
UNormalizationMode
Constants for normalization modes.
Compatibility decomposition followed by canonical composition.
Options bit set value to select Unicode 3.2 normalization (except NormalizationCorrections).
C API for code unit iteration.
unsigned int uint32_t
Define 64 bit limits.
UNormalizationCheckResult unorm_quickCheck(const UChar *source, int32_t sourcelength, UNormalizationMode mode, UErrorCode *status)
Performing quick check on a string, to quickly determine if the string is in a particular normalizati...
int32_t unorm_normalize(const UChar *source, int32_t sourceLength, UNormalizationMode mode, int32_t options, UChar *result, int32_t resultLength, UErrorCode *status)
Normalize a string.
UBool unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode)
Test if a string is in a given normalization form; same as unorm_isNormalized but takes an extra opti...
UBool unorm_isNormalized(const UChar *src, int32_t srcLength, UNormalizationMode mode, UErrorCode *pErrorCode)
Test if a string is in a given normalization form.
Indicates that string is in the normalized format.
Indicates that string is not in the normalized format.
No decomposition/composition.
int32_t unorm_compare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode)
Compare two strings for canonical equivalence.
C API: Unicode Character Iteration.
int32_t unorm_next(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode)
Iterative normalization forward.
Indicates that string cannot be determined if it is in the normalized format without further thorough...
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
int32_t unorm_concatenate(const UChar *left, int32_t leftLength, const UChar *right, int32_t rightLength, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UErrorCode *pErrorCode)
Concatenate normalized strings, making sure that the result is normalized as well.
int32_t unorm_previous(UCharIterator *src, UChar *dest, int32_t destCapacity, UNormalizationMode mode, int32_t options, UBool doNormalize, UBool *pNeededToNormalize, UErrorCode *pErrorCode)
Iterative normalization backward.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Compatibility decomposition.
Basic definitions for ICU, for both C and C++ APIs.
UNormalizationCheckResult
Result values for unorm_quickCheck().
One more than the highest normalization mode constant.
signed int int32_t
Define 64 bit limits.
Canonical decomposition followed by canonical composition.
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
int8_t UBool
The ICU boolean type.