Add an API to check if a given language tag is grandfathered

Description

Ecma 402 Intl.Locale API has a couple of provisions to handle grandfathered tags differently than other language tags. There are not many of them so that the input can be scanned against the static list by an ICU user. However, it'd be a bit of waste for an ICU using app/lib (such as v8) to duplicate the list (or regex) because ICU already has the list of grandfathered tag for its uloc_* implementation.

So, {{ bool uloc_isGrandfathered(const char*)}} would be handy for Ecma 402 implementors that use ICU.

Assignee

Unassigned

Reporter

Jungshik Shin

Components

Labels

Reviewer

None

Priority

TBD

Time Needed

None

Fix versions

None
Configure