System.Text.Encoding.CodePages 10.0.0-preview.3.25171.5

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
Aspose.Cells
A powerful and fast library written in C# for manipulating and converting Excel(XLS, XLSX,XLSB), ODS, CSV,JSON and HTML files.
216
FastReport.Core
FastReport.Core is a full-featured reporting solution for .Net Core and .Net Framework 4.x. Various report objects will allow your report to look exactly how you want it to: 13 types of bands, 25 types of barcodes, table object, diagram, maps, shapes, line, PolyLine, Polygon and many more. FastReport.Core supports export to various popular formats, such as PDF/A, Excel, Word, Open Office, HTML, CSV, Json, XAML, ZPL, etc.
3,898
FastReport.Core.Skia
FastReport.Core.Skia is a full-featured reporting solution for .Net Core and .Net Framework. Various report objects will allow your report to look exactly how you want it to: 13 types of bands, 25 types of barcodes, table object, diagram, maps, shapes, line, PolyLine, Polygon and many more. FastReport.Core supports export to various popular formats, such as PDF/A, Excel, Word, Open Office, HTML, CSV, Json, XAML, ZPL, etc.
84
FastReport.Core.Skia
FastReport.Core.Skia is a full-featured reporting solution for .Net Core and .Net Framework. Various report objects will allow your report to look exactly how you want it to: 13 types of bands, 25 types of barcodes, table object, diagram, maps, shapes, line, PolyLine, Polygon and many more. FastReport.Core supports export to various popular formats, such as PDF/A, Excel, Word, Open Office, HTML, CSV, Json, XAML, ZPL, etc.
94
FastReport.Core.Skia
FastReport.Core.Skia is a full-featured reporting solution for .Net Core and .Net Framework. Various report objects will allow your report to look exactly how you want it to: 13 types of bands, 25 types of barcodes, table object, diagram, maps, shapes, line, PolyLine, Polygon and many more. FastReport.Core supports export to various popular formats, such as PDF/A, Excel, Word, Open Office, HTML, CSV, Json, XAML, ZPL, etc.
139
FastReport.Core.Skia
FastReport.Core.Skia is a full-featured reporting solution for .Net Core and .Net Framework. Various report objects will allow your report to look exactly how you want it to: 13 types of bands, 25 types of barcodes, table object, diagram, maps, shapes, line, PolyLine, Polygon and many more. FastReport.Core supports export to various popular formats, such as PDF/A, Excel, Word, Open Office, HTML, CSV, Json, XAML, ZPL, etc.
206
Flurl.Http
A fluent, portable, testable HTTP client library.
13,670
Flurl.Http
A fluent, testable HTTP client library.
93
itext
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.
187
itext
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.
401
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/43b0b05cc4f492fd5de00f6f6717409091df8daa.
85
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/4bdc8414790101a4da120a92cc4bc0154ac787ca.
111
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.
222
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
710
System.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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory 8321c729934c0f8be754953439b88e6e1c120c24 When using NuGet 3.x this package requires at least version 3.4.
2,603
System.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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory e6120535bbabd5d198be00052a368f64c308d9c5 When using NuGet 3.x this package requires at least version 3.4.
5,975
System.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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
190
System.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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
396
System.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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
691
System.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: System.Data.SqlClient.SqlConnection System.Data.SqlClient.SqlException System.Data.SqlClient.SqlParameter System.Data.SqlDbType System.Data.SqlClient.SqlDataReader System.Data.SqlClient.SqlCommand System.Data.SqlClient.SqlTransaction System.Data.SqlClient.SqlParameterCollection System.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.
13,570

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

.NET Framework 4.6.2

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET 10.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
10.0.0-preview.3.25171.5 1 04/25/2025
10.0.0-preview.2.25163.2 2 03/31/2025
10.0.0-preview.1.25080.5 4 03/04/2025
9.0.4 1 04/25/2025
9.0.3 2 03/31/2025
9.0.2 4 02/13/2025
9.0.1 7 01/25/2025
9.0.0 12 11/14/2024
9.0.0-rc.2.24473.5 10 11/06/2024
9.0.0-rc.1.24431.7 10 11/25/2024
9.0.0-preview.7.24405.7 13 11/14/2024
9.0.0-preview.6.24327.7 11 12/04/2024
9.0.0-preview.5.24306.7 11 11/28/2024
9.0.0-preview.4.24266.19 15 05/28/2024
9.0.0-preview.3.24172.9 14 04/16/2024
9.0.0-preview.2.24128.5 14 03/23/2024
9.0.0-preview.1.24080.9 18 05/28/2024
8.0.0 155 02/02/2024
8.0.0-rc.2.23479.6 12 05/28/2024
8.0.0-rc.1.23419.4 14 05/28/2024
8.0.0-preview.7.23375.6 18 04/16/2024
8.0.0-preview.6.23329.7 22 07/16/2023
8.0.0-preview.5.23280.8 14 05/28/2024
8.0.0-preview.4.23259.5 23 05/23/2023
8.0.0-preview.3.23174.8 13 05/28/2024
8.0.0-preview.2.23128.3 18 04/16/2024
8.0.0-preview.1.23110.8 19 05/28/2024
7.0.0 70 04/13/2023
7.0.0-rc.2.22472.3 15 05/12/2024
7.0.0-rc.1.22426.10 14 05/28/2024
7.0.0-preview.7.22375.6 12 05/28/2024
7.0.0-preview.6.22324.4 17 05/28/2024
7.0.0-preview.5.22301.12 19 05/28/2024
7.0.0-preview.4.22229.4 13 05/28/2024
7.0.0-preview.3.22175.4 18 04/26/2024
7.0.0-preview.1.22076.8 11 11/29/2024
6.0.2-mauipre.1.22054.8 14 05/28/2024
6.0.1 10 12/02/2024
6.0.0 189 05/09/2022
6.0.0-rc.2.21480.5 10 11/25/2024
6.0.0-rc.1.21451.13 11 05/28/2024
6.0.0-preview.7.21377.19 16 05/28/2024
6.0.0-preview.6.21352.12 15 05/28/2024
6.0.0-preview.5.21301.5 16 05/28/2024
6.0.0-preview.4.21253.7 13 05/28/2024
6.0.0-preview.2.21154.6 15 04/16/2024
6.0.0-preview.1.21102.12 11 11/21/2024
5.0.0 38 06/11/2022
5.0.0-rc.2.20475.5 18 04/16/2024
5.0.0-rc.1.20451.14 10 11/27/2024
5.0.0-preview.8.20407.11 9 11/14/2024
5.0.0-preview.6.20305.6 15 05/28/2024
5.0.0-preview.5.20278.1 23 05/28/2024
5.0.0-preview.4.20251.6 14 05/28/2024
5.0.0-preview.3.20214.6 15 05/28/2024
5.0.0-preview.2.20160.6 14 05/28/2024
5.0.0-preview.1.20120.5 19 05/28/2024
4.7.1 42 05/05/2022
4.7.0-preview3.19551.4 13 05/28/2024
4.7.0-preview2.19523.17 12 05/28/2024
4.7.0-preview1.19504.10 13 05/28/2024
4.6.0-rc1.19456.4 12 05/28/2024
4.6.0-preview9.19421.4 10 05/28/2024
4.6.0-preview9.19416.11 14 05/05/2022
4.6.0-preview8.19405.3 16 05/28/2024
4.6.0-preview7.19362.9 12 11/27/2024
4.6.0-preview6.19303.8 10 05/28/2024
4.6.0-preview6.19264.9 14 05/28/2024
4.6.0-preview5.19224.8 17 04/16/2024
4.6.0-preview4.19212.13 15 05/28/2024
4.6.0-preview3.19128.7 16 05/28/2024
4.6.0-preview.19073.11 14 05/28/2024
4.6.0-preview.18571.3 14 05/28/2024
4.5.1-servicing-27114-05 13 11/28/2024
4.5.0 14,008 05/05/2022
4.5.0-rc1 14 05/28/2024
4.5.0-preview2-26406-04 14 05/28/2024
4.5.0-preview1-26216-02 13 11/09/2024
4.5.0-preview1-25914-04 9 11/25/2024
4.4.0-preview2-25405-01 17 05/28/2024
4.4.0-preview1-25305-02 17 05/28/2024
4.3.0-preview1-24530-04 12 04/16/2024
4.0.1 38 05/05/2022
4.0.1-rc2-24027 15 05/28/2024
4.0.1-beta-23516 14 05/28/2024
4.0.1-beta-23409 16 05/28/2024
4.0.1-beta-23225 13 05/28/2024
4.0.0 15 05/28/2024
4.0.0-beta-23109 8 11/28/2024
4.0.0-beta-23019 16 04/16/2024
4.0.0-beta-22816 12 12/03/2024
4.0.0-beta-22605 14 05/28/2024
4.0.0-beta-22416 17 05/28/2024
4.0.0-beta-22231 13 05/28/2024