pub fn unicode_full_turkic_casecmp(left: &str, right: &str) -> Ordering
Expand description
Compare two strings with Full Unicode case folding for Turkic languages.
This function is implemented with a lookup table generated from Unicode case folding tables.
§Examples
assert_eq!(unicode_full_turkic_casecmp("İstanbul", "istanbul"), Ordering::Equal);
assert_ne!(unicode_full_turkic_casecmp("İstanbul", "Istanbul"), Ordering::Equal);
§Examples – Full
Turkic case folding is largely compatible with full Unicode case folding.
assert_eq!(unicode_full_turkic_casecmp("MASSE", "Maße"), Ordering::Equal);
assert_eq!(unicode_full_turkic_casecmp("São Paulo", "Sao Paulo"), Ordering::Greater);