System.Text.Encoding.CodePages 9.0.0-preview.4.24266.19

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.
57
Aspose.Cells
A powerful and fast library written in C# for manipulating and converting Excel(XLS, XLSX,XLSB), ODS, CSV,JSON and HTML files.
190
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,866
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.
57
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.
72
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.
100
Flurl.Http
A fluent, portable, testable HTTP client library.
13,609
Flurl.Http
A fluent, testable HTTP client library.
66
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.
162
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.
287
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.
72
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.
81
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.
185
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.
689
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,580
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,956
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.
151
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.
367
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.
678
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,548

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

.NET Framework 4.6.2

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
9.0.0-preview.4.24266.19 3 05/28/2024
9.0.0-preview.3.24172.9 2 04/16/2024
9.0.0-preview.2.24128.5 3 03/23/2024
9.0.0-preview.1.24080.9 4 05/28/2024
8.0.0 101 02/02/2024
8.0.0-rc.2.23479.6 3 05/28/2024
8.0.0-rc.1.23419.4 1 05/28/2024
8.0.0-preview.7.23375.6 3 04/16/2024
8.0.0-preview.6.23329.7 5 07/16/2023
8.0.0-preview.5.23280.8 4 05/28/2024
8.0.0-preview.4.23259.5 5 05/23/2023
8.0.0-preview.3.23174.8 3 05/28/2024
8.0.0-preview.2.23128.3 4 04/16/2024
8.0.0-preview.1.23110.8 3 05/28/2024
7.0.0 54 04/13/2023
7.0.0-rc.2.22472.3 3 05/12/2024
7.0.0-rc.1.22426.10 2 05/28/2024
7.0.0-preview.7.22375.6 1 05/28/2024
7.0.0-preview.6.22324.4 3 05/28/2024
7.0.0-preview.5.22301.12 4 05/28/2024
7.0.0-preview.4.22229.4 2 05/28/2024
7.0.0-preview.3.22175.4 4 04/26/2024
6.0.2-mauipre.1.22054.8 1 05/28/2024
6.0.0 156 05/09/2022
6.0.0-rc.1.21451.13 2 05/28/2024
6.0.0-preview.7.21377.19 3 05/28/2024
6.0.0-preview.6.21352.12 4 05/28/2024
6.0.0-preview.5.21301.5 3 05/28/2024
6.0.0-preview.4.21253.7 2 05/28/2024
6.0.0-preview.2.21154.6 4 04/16/2024
5.0.0 23 06/11/2022
5.0.0-rc.2.20475.5 5 04/16/2024
5.0.0-preview.6.20305.6 2 05/28/2024
5.0.0-preview.5.20278.1 3 05/28/2024
5.0.0-preview.4.20251.6 5 05/28/2024
5.0.0-preview.3.20214.6 3 05/28/2024
5.0.0-preview.2.20160.6 3 05/28/2024
5.0.0-preview.1.20120.5 3 05/28/2024
4.7.1 26 05/05/2022
4.7.0-preview3.19551.4 2 05/28/2024
4.7.0-preview2.19523.17 2 05/28/2024
4.7.0-preview1.19504.10 2 05/28/2024
4.6.0-rc1.19456.4 2 05/28/2024
4.6.0-preview9.19421.4 1 05/28/2024
4.6.0-preview9.19416.11 3 05/05/2022
4.6.0-preview8.19405.3 1 05/28/2024
4.6.0-preview6.19303.8 1 05/28/2024
4.6.0-preview6.19264.9 3 05/28/2024
4.6.0-preview5.19224.8 5 04/16/2024
4.6.0-preview4.19212.13 2 05/28/2024
4.6.0-preview3.19128.7 4 05/28/2024
4.6.0-preview.19073.11 3 05/28/2024
4.6.0-preview.18571.3 3 05/28/2024
4.5.0 13,945 05/05/2022
4.5.0-rc1 2 05/28/2024
4.5.0-preview2-26406-04 3 05/28/2024
4.4.0-preview2-25405-01 4 05/28/2024
4.4.0-preview1-25305-02 4 05/28/2024
4.3.0-preview1-24530-04 2 04/16/2024
4.0.1 20 05/05/2022
4.0.1-rc2-24027 1 05/28/2024
4.0.1-beta-23516 1 05/28/2024
4.0.1-beta-23409 3 05/28/2024
4.0.1-beta-23225 4 05/28/2024
4.0.0 2 05/28/2024
4.0.0-beta-23019 3 04/16/2024
4.0.0-beta-22605 3 05/28/2024
4.0.0-beta-22416 3 05/28/2024
4.0.0-beta-22231 2 05/28/2024