Formatting issuses with "@compat=host" for some locales on down-level versions of Windows.

Description

On versions of Windows lower than Win10 version 1703, using "@compat=host" will cause issues with date/number formatting for a handful of locales. This is mainly due to the locales changing names between OS releases, while keeping the same LCID. (Win7 -> Win8 -> Win8.1 -> Win10).

1 2 3 4 5 6 7 8 int32_t failingLocaleLCIDs[] = { 0x040a, /* es-ES_tradnl;es-ES-u-co-trad; */ 0x048c, /* fa-AF;prs-AF;prs-Arab-AF; */ 0x046b, /* qu-BO;quz-BO;quz-Latn-BO; */ 0x086b, /* qu-EC;quz-EC;quz-Latn-EC; */ 0x0c6b, /* qu-PE;quz-PE;quz-Latn-PE; */ 0x0492 /* ckb-IQ;ku-Arab-IQ; */ };

Status

Assignee

Jeff Genovy

Reporter

Jeff Genovy

Labels

None

Reviewer

None

Time Needed

None

Start date

None

Components

Fix versions

Priority

minor
Configure