Function icu_properties::sets::changes_when_titlecased

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

Characters whose normalized forms are not stable under a toTitlecase mapping

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let changes_when_titlecased = sets::changes_when_titlecased();

assert!(changes_when_titlecased.contains('æ'));  // U+00E6 LATIN SMALL LETTER AE
assert!(!changes_when_titlecased.contains('Æ'));  // U+00E6 LATIN CAPITAL LETTER AE