pub fn load_soft_dotted(
    provider: &impl DataProvider<SoftDottedV1Marker>
) -> Result<CodePointSetData, PropertiesError>
Expand description

Characters with a “soft dot”, like i or j. An accent placed on these characters causes the dot to disappear.


use icu_properties::sets;

let data =
        .expect("The data should be valid");
let soft_dotted = data.as_borrowed();

assert!(soft_dotted.contains('і'));  //U+0456 CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
assert!(!soft_dotted.contains('ı'));  // U+0131 LATIN SMALL LETTER DOTLESS I