Skip to content

use UnicodeProperty rather than UnicodeMap in NormalizationDataIUP? #1393

@markusicu

Description

@markusicu

Robin pointed out in #1391 where I was deleting the unused PropNormalizationData that in some ways it looked more modern than the remaining NormalizationDataIUP because it was using constructs with UnicodeProperty like

UnicodeProperty canonicalProp = properties.getProperty("ccc");

rather than ones with UnicodeMap like
ccc = factory.loadInt(UcdProperty.Canonical_Combining_Class);

We should discuss which one is preferred.
Discussion 2026may12: Prefer APIs with UnicodeProperty. See comment below.

Note also that one uses a property name string and the other one uses a UcdProperty enum value.

@eggrobin @macchiati

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions