Function icu_properties::sets::changes_when_lowercased

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

Characters whose normalized forms are not stable under a toLowercase mapping

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let changes_when_lowercased = sets::changes_when_lowercased();

assert!(changes_when_lowercased.contains('Ⴔ'));  // U+10B4 GEORGIAN CAPITAL LETTER PHAR
assert!(!changes_when_lowercased.contains('ფ'));  // U+10E4 GEORGIAN LETTER PHAR