Function icu_properties::sets::changes_when_casefolded

source ·
pub const fn changes_when_casefolded() -> CodePointSetDataBorrowed<'static>
Expand description

Characters whose normalized forms are not stable under case folding

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let changes_when_casefolded = sets::changes_when_casefolded();

assert!(changes_when_casefolded.contains('ß'));  // U+00DF LATIN SMALL LETTER SHARP S
assert!(!changes_when_casefolded.contains('ᜉ'));  // U+1709 TAGALOG LETTER PA