icu_properties::sets

Function 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