Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.4, 6.6.1
-
None
-
-
5
-
fcd2a219c (dev), cbc3c6363 (6.7), 030fd4b2f (6.6), 60f069348 (tqtc/lts-6.5)
-
Foundations Sprint 99
Description
Running the attached program on Windows 11 with LANG=fr_CA produces
"fr_CA" QLocale(French, Latin, Canada) "January" "fr_CA" QLocale(French, Latin, Canada) "janvier"
whereas on Linux the first line correctly says "janvier". I also tried it with WebAssembly and switched the language my browser is requesting to fr_CA and it produces the expected results like Linux. It occurs on both Qt 6.5 and 6.6.
It is unclear why the default constructed QLocale doesn't work on Windows, since it reports the exact same name as is used to construct the other QLocale.
Attachments
For Gerrit Dashboard: QTBUG-120961 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
531252,2 | Windows: Use LANG env var to override System Locale | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
531654,10 | Make QLocale self-consistent on Windows | dev | qt/qtbase | Status: MERGED | +2 | 0 |
532475,2 | Make QLocale self-consistent on Windows | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
532644,2 | Make QLocale self-consistent on Windows | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
532661,2 | Make QLocale self-consistent on Windows | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |