Skip to content

Editorial: Clarify that "well-formed language tag" does not imply unicode_bcp47_locale_id well-formedness#1048

Open
gibson042 wants to merge 1 commit intotc39:mainfrom
gibson042:gh-1046-well-formed-language-tag
Open

Editorial: Clarify that "well-formed language tag" does not imply unicode_bcp47_locale_id well-formedness#1048
gibson042 wants to merge 1 commit intotc39:mainfrom
gibson042:gh-1046-well-formed-language-tag

Conversation

@gibson042
Copy link
Copy Markdown
Member

Fixes #1046

As noted there, "en-u-ca-buddhist-ca-islamic" and other inputs with duplicate ukeys are accepted (and must continue to be). IsWellFormedLanguageTag therefore does not ensure conformance with the well-formedness constraints of a unicode_bcp47_locale_id, but rather with a slightly weaker set of constraints that are specific to ECMA-402 that this PR describes in a new note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant