22 #if !UCONFIG_NO_NORMALIZATION 158 #ifndef U_HIDE_DEPRECATED_API 192 #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20 216 UChar *result, int32_t resultLength,
388 UChar *dest, int32_t destCapacity,
421 UChar *dest, int32_t destCapacity,
465 const UChar *right, int32_t rightLength,
466 UChar *dest, int32_t destCapacity,
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...
Options bit set value to select Unicode 3.2 normalization (except NormalizationCorrections).
UNormalizationMode
Constants for normalization modes.
Compatibility decomposition followed by canonical composition.
C API for code unit iteration.
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...
#define U_DEPRECATED
This is used to declare a function as a deprecated public ICU C API.
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.
C API: New API for Unicode Normalization.
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.
No decomposition/composition.
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.
uint16_t UChar
The base type for UTF-16 code units and pointers.
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.
One more than the highest normalization mode constant.
UNormalizationCheckResult
Result values for normalization quick check functions.
Canonical decomposition followed by canonical composition.
int8_t UBool
The ICU boolean type.