|This module contains functions to do Unicode normalization of CompactStrings.
|A data type for representing an ICU Normalization type. You use this to specify
how you'd like ICU to normalize your string.
|Internal function to convert a NormalizationMode to its C enum value
|data NormalizationOption ||Source|
Options to pass to normalize.
There is only one option ATM.
|Unicode3_2||Normalize according to Unicode 3.2
Normalizes the given string, according to the given normalization type and options.
This function is a higher-level wrapper around raw_normalize.
Move this to something like Data.CompactString.Normalization, eventually.
Generalize out the UErrorCode handling.
|data NormalizationCheckResult ||Source|
|A type for the result of a quick normalization check.
Attempts to check quickly whether a string is already normalized according to a certain
When you get MaybeNormalized as a result, you should normalize the
string and compare it to the original to know if it is normalized. You can
make ICU do that by calling isNormalized.
|Tells of a string whether it is already normalized according to a certain
mode and options
Concatenates two normalized strings, such that the result is also normalized.
Given that string1 is normalized according to mode and options, and string2
is normalized according to mode and options, the result of concatenate
string1 string2 mode options will be a concatenation of string1 and string2
and be normalized according to mode and options.
|A data type to encode options to the compare function.
|InputIsFCD||Assume that both strings are FCD normalized
|IgnoreCase||Do case-insensitive comparison
|CompareCodePointOrder||Compare by code point order (default is code unit order)
Compares two Unicode strings for canonical equivalence.
Two Unicode strings are canonically equivalent when their NFD and NFC
normalizations are equal.
|Produced by Haddock version 2.4.2|