Function icu_properties::sets::changes_when_uppercased

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

Characters whose normalized forms are not stable under a toUppercase mapping

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let changes_when_uppercased = sets::changes_when_uppercased();

assert!(changes_when_uppercased.contains('ւ'));  // U+0582 ARMENIAN SMALL LETTER YIWN
assert!(!changes_when_uppercased.contains('Ւ'));  // U+0552 ARMENIAN CAPITAL LETTER YIWN