Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Add support for UTF8 Feature Extension #30917

Merged
merged 9 commits into from
Jul 16, 2018

Conversation

keeratsingh
Copy link

This PR adds support for UTF-8 Feature Extension that will be introduced in newer versions of SQL Server.

_defaultEncoding = System.Text.Encoding.GetEncoding(_defaultCodePage);
_defaultEncoding = Encoding.UTF8;
_defaultCollation = env.newCollation;
_defaultLCID = env.newCollation.LCID;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed line.

@stephentoub
Copy link
Member

cc: @GrabYourPitchforks

@keeratsingh
Copy link
Author

@dotnet-bot Test Windows x64 Debug Build

_defaultCodePage = newCodePage;
_defaultEncoding = System.Text.Encoding.GetEncoding(_defaultCodePage);
_defaultEncoding = Encoding.UTF8;
_defaultCollation = env.newCollation;
Copy link
Contributor

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.

Copy link
Author

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.

@keeratsingh keeratsingh added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Jul 12, 2018
@keeratsingh keeratsingh removed the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Jul 13, 2018
@keeratsingh
Copy link
Author

@dotnet-bot Test Windows x64 Debug Build

@keeratsingh keeratsingh merged commit 06b5dab into dotnet:master Jul 16, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…extension

Add support for UTF8 Feature Extension

Commit migrated from dotnet/corefx@06b5dab
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants