Make Encoding.Default return UTF8 without BOM emission (dotnet/coreclr#10747)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Thu, 6 Apr 2017 19:58:17 +0000 (12:58 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2017 19:58:17 +0000 (12:58 -0700)
commit81feca51e45016e51866fe092e7b570fad87193e
tree16f1616c5b15be055bcbd09a6cabd793b72e8daa
parentcb99c7b81d473b96eba6ac6a691ef672de8878fb
Make Encoding.Default return UTF8 without BOM emission (dotnet/coreclr#10747)

* Make Encoding.Default return UTF8 without BOM emission

* Remove SL reference in the code

* Remove the static cache

Commit migrated from https://github.com/dotnet/coreclr/commit/dd9307c8da599704271512476fc0e876cb071505
src/coreclr/src/mscorlib/src/System/Text/Encoding.cs
src/coreclr/src/mscorlib/src/System/Text/UTF8Encoding.cs