System.Text.Encoding.CodePages 10.0.6

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
Devart.Data.Oracle
dotConnect for Oracle is an enhanced database connectivity solution built over ADO.NET architecture and a development framework with a number of innovative technologies. It introduces new approaches for designing a data access layer and boosts the productivity of DB application development. dotConnect offers a complete solution for developing DB-related applications and web sites. This package contains the .NET Standard/.NET Core compatible assemblies with general ADO.NET functionality of dotConnect for Oracle - main ADO.NET classes, Oracle data types support, etc. This package contains only runtime features of dotConnect for Oracle. dotConnect for Oracle is also provided as an installation package (exe), which installs runtime assemblies for Full .NET Framework and a set of design-time tools, integrated into Visual Studio - Server Explorer integration, DataSet tools, Windows Forms components with powerful design-time, etc. Besides, this installer generates the trial key files required for using this package on a trial basis. You can download it at www.devart.com.
16
EPPlus.Core
EPPlus.Core is an unofficial port of the EPPlus library to .NET Core.
28
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
18
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
19
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
21
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
22
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
23
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
35
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
53
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
62
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.
18
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.
22
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.
27
MySql.Data
MySql.Data.MySqlClient .Net Core Class Library
16
MySql.Data
MySql.Data.MySqlClient .Net Core Class Library
31
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 7ee84596d92e178bce54c986df31ccc52479e772 When using NuGet 3.x this package requires at least version 3.4.
17
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.
21

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