jw (deprecated) and a number of lang subtags with preferred values are not canonicalized to preferred values

Description

jw (deprecated code for Javanese) is not canonicalized to jv (up to date ISO 639 code for Javanese) while other three (iw, ji, in) are replaced by {he, yi, id}.

And there are many others that are not handled by ICU.

See https://dxr.mozilla.org/mozilla-central/source/js/src/builtin/intl/LangTagMappingsGenerated.js for the list used by Firefox that was automatically generated
from https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry .

That's because DEPRECATEDLANGS array in uloc_tag.cpp does not have 'jw => jv' mapping.

OTOH, uloc.cpp has these tables. However, they're not used in uloc_tag.cpp.

This was reported against v8:
https://bugs.chromium.org/p/v8/issues/detail?id=5693#c7

Activity

Show:

Shane Carr September 24, 2018 at 9:45 PM

Tickets closed as "duplicate" should have no fixVersion; semantically, they inherit the fixVersion of the duplicate.

Jungshik Shin September 11, 2018 at 8:03 AM

duping to .

Duplicate

Details

Assignee

Reporter

Components

Priority

Created June 28, 2018 at 5:27 PM
Updated October 23, 2019 at 9:54 PM
Resolved September 11, 2018 at 8:03 AM