Enumeration
uninormchk
Quick check constants.
enum uninormchk {
...
}
Constants 🔗
UNI_YES | Indicates characters that can occur in the respective normalization form. |
UNI_MAYBE | Characters that may occur in the respective normalization, depending on the context. |
UNI_NO | Characters that cannot ever occur in the respective normalization form. |
Discussion 🔗
These properties indicate whether a character can or cannot appear in a given normalization form. They are defined to enable various optimizations for implementations of normalization. They enable fast checking of whether some input string is already in the desired normalization form. This may make it possible to bypass the more time-consuming call to run the complete Unicode Normalization Algorithm on the input string.
Users can alternatively call uni_normchk which will check if text is normalized. The implementation uses these properties internally to perform the check.