-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make NLS default globalization mode #44008
Make NLS default globalization mode #44008
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to make sense to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, some questions and a request that we change the target URL.
src/libraries/System.Private.CoreLib/src/System/Globalization/GlobalizationMode.Windows.cs
Outdated
Show resolved
Hide resolved
Note: this also changes Mono Desktop default. I guess it makes sense to be consistent. |
Failing test System.Numerics.Vectors.Tests is known issue #41108. |
So I just doubled checked that the script to change the test mode works... this is a test run in Windows8
That shows at the top that it didn't find ICU and as you can see it didn't meet the Then this is the output of a Windows 19H1 test run which ICU is supported:
You can see |
Thanks for checking |
string? switchValue = Environment.GetEnvironmentVariable(envVariable); | ||
if (switchValue != null) | ||
if (!string.IsNullOrEmpty(switchValue)) | ||
{ | ||
ret = bool.IsTrueStringIgnoreCase(switchValue) || switchValue.Equals("1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an idea came to mind: Should we check for false instead when defaultValue == true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't reset things for that.
@safern Good to merge as soon as you're reasonably comfortable with it. |
Note for anyone coming across this PR: this does not mean there is a plan change: we are just gathering more data to inform a decision. |
This reverts commit 7ef6d50.
This is to test what happens with upstack repos and to move early before the decision is made. If we don't want this we can always revert this change.
cc: @danmosemsft @mmitche @SteveCarrollMSFT