-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Replace UTF8Encoding(false)
with Encoding.Default
part 2
#18356
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
Conversation
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
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.
Do we not have concerns that the .Net default will be changed in the future while we don't want such a change?
if (s_defaultEncoding == null) | ||
{ | ||
// load all available encodings | ||
EncodingRegisterProvider(); |
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 don't remember if we have tests for that.
Since .NET Core 2.0, In the unlikely event of a breaking c
8000
hange to cc: @JamesWTruher |
@iSazonov You may be interested in the .NET breaking change to proposal to |
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
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
Follow-up: #18144.
cc: @iSazonov, @daxian-dbw, @JamesWTruher
Context: dotnet/runtime#45541, #5080