System.Text.Encoding.CodePages 10.0.0-rc.2.25502.107
About
System.Text.Encoding.CodePages enable creating single and double bytes encodings for code pages that otherwise are available only in the desktop .NET Framework.
Key Features
- Support single and double byte encodings for code pages that are not available in .NET Core.
 
How to Use
using System.Text;
// Register the CodePages encoding provider at application startup to enable using single and double byte encodings.
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
// Now can create single and double byte encodings for code pages that are not available in .NET Core.
Encoding windows1252Encoding = Encoding.GetEncoding(1252); // Western European (Windows)
byte[] encodedBytes = windows1252Encoding.GetBytes("String to encode");
Main Types
The main types provided by this library are:
CodePagesEncodingProvider
Additional Documentation
Related Packages
Feedback & Contributing
System.Text.Encoding.CodePages is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Showing the top 20 packages that depend on System.Text.Encoding.CodePages.
| Packages | Downloads | 
|---|---|
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                136 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                131 | 
| 
                                                    Microsoft.NETCore.UniversalWindowsPlatform
                                                     Provides a set of packages that can be used when building Universal Windows applications on .NET.
5.2.4 contains .NET Native 1.4 plus the following fix:
- Updated the WCF packages which contain bug fixes.
When using Visual Studio this package requires Visual Studio 2015 Update 3 or later.
 
When using NuGet 3.x this package requires at least version 3.4. 
                                                 | 
                                                118 | 
| 
                                                    Microsoft.Build.Utilities.Core
                                                     This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. 
                                                 | 
                                                116 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                116 | 
| 
                                                    Microsoft.Build.Utilities.Core
                                                     This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. 
                                                 | 
                                                115 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                114 | 
| 
                                                    Microsoft.Build.Utilities.Core
                                                     This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. 
                                                 | 
                                                113 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                113 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                112 | 
| 
                                                    Microsoft.Build.Utilities.Core
                                                     This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. 
                                                 | 
                                                110 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluation MSBuild projects. 
                                                 | 
                                                108 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                108 | 
| 
                                                    Microsoft.Build.Utilities.Core
                                                     This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks. 
                                                 | 
                                                108 | 
| 
                                                    Microsoft.Build
                                                     This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects. 
                                                 | 
                                                106 | 
| 
                                                    Microsoft.NETCore.UniversalWindowsPlatform
                                                     Provides a set of packages that can be used when building Universal Windows applications on .NETCore. 
4353a76c439e02cd9fa44f412ce73d564c749285 
When using NuGet 3.x this package requires at least version 3.4. 
                                                 | 
                                                105 | 
.NET Framework 4.6.2
- System.Memory (>= 4.6.3)
 - System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
 - System.ValueTuple (>= 4.6.1)
 
.NET 8.0
- No dependencies.
 
.NET 9.0
- No dependencies.
 
.NET 10.0
- No dependencies.
 
.NET Standard 2.0
- System.Memory (>= 4.6.3)
 - System.Runtime.CompilerServices.Unsafe (>= 6.1.2)