System.Text.Encoding.CodePages 11.0.0-preview.1.26104.118

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

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
Dapper
A high performance Micro-ORM supporting Sql Server, MySQL, Sqlite, SqlCE, Firebird etc..
45
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/416f7c5a54bcf5c34eaf69ffa04cf3f12435b153.
44
itext7
iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow. iText allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/e873e69306527a0424e97af2985370556f474019
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. This package was built from the source at https://github.com/dotnet/roslyn/commit/281ac90b8b5dd9fd923a353afd4af74f3246ca5c
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/82f2e2541478e239dc4b04f231e90dc2b3dcb422.
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it.
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/b8a5611e3db4f7ac3b5e1404b129304b5baf843e.
43
Microsoft.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server and encapsulate database-specific protocols, including tabular data stream (TDS) Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/205504dfd0f686370cffae5df068024c8a2b427f.
43
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. This package was built from the source at https://github.com/dotnet/roslyn/commit/ec1cde8b77c7bca654888681037f55aa0e62dd19
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/66a912c9463eebe832cf742d2fe8bb2e1a4600ec.
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/2fc6a04980f800c59e8ede97e6ae294ff47d666e.
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. This package was built from the source at https://github.com/dotnet/roslyn/commit/ab56a4a6c32268d925014a3e45ddce61fba715cd
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/c3b512958589fecf9e847a73db492cfc92f71a69.
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/2ad4aabc7a9dada097e54e544ebba48ab1c05074
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. This package was built from the source at https://github.com/dotnet/roslyn/commit/57c813192bd494bb15aaa841f415f28f50438e19
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. Supported Platforms: - .NET Framework 4.5 - Windows 8 - Portable Class Libraries
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/5429b35d5a4359cbf4815f3563cdc4de13dae1be
42
Microsoft.CodeAnalysis.Common
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/e595ee276d14e14bfb3eb323fb57f2aa668bddea
42

https://go.microsoft.com/fwlink/?LinkID=799421

.NET Framework 4.6.2

.NET 10.0

  • No dependencies.

.NET 11.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
11.0.0-preview.1.26104.118 9 02/15/2026
10.0.3 9 02/14/2026
10.0.2 13 01/18/2026
10.0.1 18 12/14/2025
10.0.0 20 11/18/2025
10.0.0-rc.2.25502.107 28 10/18/2025
10.0.0-rc.1.25451.107 35 09/19/2025
10.0.0-preview.7.25380.108 30 09/05/2025
10.0.0-preview.6.25358.103 32 09/05/2025
10.0.0-preview.5.25277.114 33 09/05/2025
10.0.0-preview.4.25258.110 31 09/05/2025
10.0.0-preview.3.25171.5 31 09/05/2025
10.0.0-preview.2.25163.2 33 09/05/2025
10.0.0-preview.1.25080.5 32 09/05/2025
9.0.13 9 02/15/2026
9.0.12 11 01/19/2026
9.0.11 22 11/17/2025
9.0.10 29 10/21/2025
9.0.9 28 09/20/2025
9.0.8 32 09/05/2025
9.0.7 32 09/05/2025
9.0.6 31 09/05/2025
9.0.5 30 09/05/2025
9.0.4 30 09/05/2025
9.0.3 34 09/05/2025
9.0.2 30 09/05/2025
9.0.1 29 09/05/2025
9.0.0 30 09/05/2025
9.0.0-rc.2.24473.5 32 09/05/2025
9.0.0-rc.1.24431.7 33 09/05/2025
9.0.0-preview.7.24405.7 31 09/05/2025
9.0.0-preview.6.24327.7 31 09/05/2025
9.0.0-preview.5.24306.7 31 09/05/2025
9.0.0-preview.4.24266.19 31 09/05/2025
9.0.0-preview.3.24172.9 31 09/05/2025
9.0.0-preview.2.24128.5 33 09/05/2025
9.0.0-preview.1.24080.9 31 09/05/2025
8.0.0 29 09/05/2025
8.0.0-rc.2.23479.6 31 09/05/2025
8.0.0-rc.1.23419.4 33 09/05/2025
8.0.0-preview.7.23375.6 31 09/05/2025
8.0.0-preview.6.23329.7 31 09/05/2025
8.0.0-preview.5.23280.8 32 09/05/2025
8.0.0-preview.4.23259.5 32 09/05/2025
8.0.0-preview.3.23174.8 31 09/05/2025
8.0.0-preview.2.23128.3 32 09/05/2025
8.0.0-preview.1.23110.8 30 09/05/2025
7.0.0 33 09/05/2025
7.0.0-rc.2.22472.3 33 09/05/2025
7.0.0-rc.1.22426.10 29 09/05/2025
7.0.0-preview.7.22375.6 33 09/05/2025
7.0.0-preview.6.22324.4 32 09/05/2025
7.0.0-preview.5.22301.12 30 09/05/2025
7.0.0-preview.4.22229.4 30 09/05/2025
7.0.0-preview.3.22175.4 35 09/05/2025
7.0.0-preview.2.22152.2 34 09/05/2025
7.0.0-preview.1.22076.8 32 09/05/2025
6.0.1 31 09/05/2025
6.0.0 32 09/05/2025
6.0.0-rc.2.21480.5 33 09/05/2025
6.0.0-rc.1.21451.13 31 09/05/2025
6.0.0-preview.7.21377.19 30 09/05/2025
6.0.0-preview.6.21352.12 31 09/05/2025
6.0.0-preview.5.21301.5 33 09/05/2025
6.0.0-preview.4.21253.7 31 09/05/2025
6.0.0-preview.3.21201.4 33 09/05/2025
6.0.0-preview.2.21154.6 31 09/05/2025
6.0.0-preview.1.21102.12 33 09/05/2025
5.0.0 29 09/05/2025
5.0.0-rc.2.20475.5 34 09/05/2025
5.0.0-rc.1.20451.14 32 09/05/2025
5.0.0-preview.8.20407.11 31 09/05/2025
5.0.0-preview.7.20364.11 35 09/05/2025
5.0.0-preview.6.20305.6 31 09/05/2025
5.0.0-preview.5.20278.1 29 09/05/2025
5.0.0-preview.4.20251.6 31 09/05/2025
5.0.0-preview.3.20214.6 32 09/05/2025
5.0.0-preview.2.20160.6 35 09/05/2025
5.0.0-preview.1.20120.5 31 09/05/2025
4.7.1 32 09/05/2025
4.7.0 29 09/05/2025
4.7.0-preview3.19551.4 30 09/05/2025
4.7.0-preview2.19523.17 29 09/05/2025
4.7.0-preview1.19504.10 30 09/05/2025
4.6.0 30 09/05/2025
4.6.0-rc1.19456.4 33 09/05/2025
4.6.0-preview9.19421.4 29 09/05/2025
4.6.0-preview9.19416.11 33 09/05/2025
4.6.0-preview8.19405.3 32 09/05/2025
4.6.0-preview7.19362.9 30 09/05/2025
4.6.0-preview6.19303.8 35 09/05/2025
4.6.0-preview6.19264.9 31 09/05/2025
4.6.0-preview5.19224.8 30 09/05/2025
4.6.0-preview4.19212.13 32 09/05/2025
4.6.0-preview3.19128.7 30 09/05/2025
4.6.0-preview.19073.11 29 09/05/2025
4.6.0-preview.18571.3 30 09/05/2025
4.5.1 31 09/05/2025
4.5.1-servicing-27114-05 33 09/05/2025
4.5.0 31 09/05/2025
4.5.0-rc1 30 09/05/2025
4.5.0-preview2-26406-04 32 09/05/2025
4.5.0-preview1-26216-02 32 09/05/2025
4.5.0-preview1-25914-04 30 09/05/2025
4.4.0 32 09/05/2025
4.4.0-preview2-25405-01 32 09/05/2025
4.4.0-preview1-25305-02 32 09/05/2025
4.3.0 33 09/05/2025
4.3.0-preview1-24530-04 32 09/05/2025
4.0.1 30 09/05/2025
4.0.1-rc2-24027 29 09/05/2025
4.0.1-beta-23516 31 09/05/2025
4.0.1-beta-23409 34 09/05/2025
4.0.1-beta-23225 32 09/05/2025
4.0.0 33 09/05/2025
4.0.0-beta-23109 28 09/05/2025
4.0.0-beta-23019 31 09/05/2025
4.0.0-beta-22816 28 09/05/2025
4.0.0-beta-22605 32 09/05/2025
4.0.0-beta-22416 31 09/05/2025
4.0.0-beta-22231 31 09/05/2025