Skip to content

Provide the Numeric_Value character property #3014

Open
@hsivonen

Description

@hsivonen

ICU4X is missing an API for querying the Numeric_Value property of a character.

Use case: Gecko uses this property to classify the sameness of numbering systems for the purpose of IDNA confusability. When a character whose general class is decimal digit is encountered, the Numeric_Value property is used for computing the zero character in that numbering system, which is then used to remember the first numbering system encountered. If another decimal digit results in a different corresponding zero character, multiple numbering systems are considered to be present and a confusability risk is concluded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-unicodeComponent: Props, sets, triesS-largeSize: A few weeks (larger feature, major refactoring)U-geckoUser: Geckogood first issueGood for newcomershelp wantedIssue needs an assignee

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions