We're updating the issue view to help you get more done. 

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; */ };

Environment

Status

Assignee

Jeff Genovy

Reporter

Jeff Genovy

tracCreated

Apr 07, 2017, 11:55 PM

tracOwner

jefgen

tracProject

ICU4C

tracReporter

jefgen

tracStatus

accepted

Components

Fix versions

Priority

minor