Skip to content

Is it right to ignore extra subtags in values? #7420

@sffc

Description

@sffc

We noticed this in #7413

Currently in icu_locale_core, en-u-ca-buddhist-xyz parses to the same thing as en-u-ca-buddhist.

Should we instead drop the whole keyword and parse en-u-ca-buddhist-xyz to en?

CC @zbraniecki @macchiati

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-localeComponent: Locale identifiers, BCP47discussDiscuss at a future ICU4X-SC meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions