Enumeration

unistrength

Collation comparison levels.

enum unistrength {
    ...
}

Constants 🔗

UNI_PRIMARY

Represents differences in the base letter or symbol.

UNI_SECONDARY

Represents differences in accents.

UNI_TERTIARY

Represents differences in case or variants of symbols.

UNI_QUATERNARY

Represents differences in punctuation.

Discussion 🔗

The Unicode collation algorithm is a multilevel comparison algorithm. The number of levels that are considered in comparison is known as the collation strength. This enumeration defines constants for each level.