Repository navigation
CultureInfo and CultureData use OS information to initialize culture routines on Windows - #35680
Conversation
…routines on Windows
Can you explain what you mean by this? ICU on Windows should be picking up the NLS User Locale setting, often called the "Regional Format" setting. If this isn't happening then there's a serious bug going on. For example, this is what the UI for the setting looks like in the Settings App on Windows 10: |
|
@jefgen does ICU on Windows offer returning the Default UI language and default Region too? |
@tarekgh: No, it currently does not. Probably the best way to think about ICU is that it is more like how NLS works (ie: locale data). On Windows, the NLS doesn't provide the Default UI language either, as that is from the MUI APIs, as the setting is owned by MUI. |
|
Sure, that sounds reasonable to me.
I was concerned that maybe there was a bug and the ICU wasn't reading the NLS User Default Locale (which it should be). Thanks for the replies and clarifications. :) |
|
Thanks @jefgen 😄 |
0966edf to
29ba3c0
Compare
57d2ea3 to
ccf90c8
Compare
|
Build is green, GH just didn't update. |

Fixes: #35638
ICU doesn't use OS data to get the default user settings in Windows for current culture, current UI culture and for current region.
cc: @tarekgh @jkotas @GrabYourPitchforks @jefgen