-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Add support for UTF8 Feature Extension #30917
Add support for UTF8 Feature Extension #30917
Conversation
…eature-extension
…eature-extension
_defaultEncoding = System.Text.Encoding.GetEncoding(_defaultCodePage); | ||
_defaultEncoding = Encoding.UTF8; | ||
_defaultCollation = env.newCollation; | ||
_defaultLCID = env.newCollation.LCID; |
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.
this is redundant here
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.
Removed line.
@dotnet-bot Test Windows x64 Debug Build |
_defaultCodePage = newCodePage; | ||
_defaultEncoding = System.Text.Encoding.GetEncoding(_defaultCodePage); | ||
_defaultEncoding = Encoding.UTF8; | ||
_defaultCollation = env.newCollation; |
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.
_defaultCollation = env.newCollation
This is set in both if and else. Can we move it out to before if and else.
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.
Moved it out before if and else as requested.
@dotnet-bot Test Windows x64 Debug Build |
…extension Add support for UTF8 Feature Extension Commit migrated from dotnet/corefx@06b5dab
This PR adds support for
UTF-8 Feature Extension
that will be introduced in newer versions of SQL Server.