Skip to content

IsWellFormedLanguageTag doesn't match well-formedness from UTS 35 for duplicate ukey or tkey values #1046

@anba

Description

@anba

Well-formedness constraints include:

There cannot be more than one ukey or tkey. For example, en-u-ca-buddhist-ca-islamic is ill-formed.

ECMA-402 doesn't have this restriction, i.e. IsWellFormedLanguageTag("en-u-ca-buddhist-ca-islamic") returns true (and can't be changed to return false).

See also #1008.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: localeComponent: locale identifierss: discussStatus: TG2 must discuss to move forward

    Type

    No type

    Projects

    Status

    Other Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions