System.Text.Encoding.CodePages 9.0.2

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
EPPlus.Core
EPPlus.Core is an unofficial port of the EPPlus library to .NET Core.
20
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
14
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
15
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
18
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
29
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
47
JQ.Common.Infrastructure
用于HIS2.0全部的第三方dll
54
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.
14
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
MySql.Data
MySql.Data.MySqlClient .Net Core Class Library
23
Oscar.Data.SqlClient
神通数据库驱动提供程序 .NET Standard2.0(TFM)支持.NET Framework >=4.6.1 以及 .NET Core 2.0 至 .NET 5(最新)
11
SharpCompress
SharpCompress is a compression library for NET Standard 2.0/NET Standard 2.1/NET 6.0/NET 8.0 that can unrar, decompress 7zip, decompress xz, zip/unzip, tar/untar lzip/unlzip, bzip2/unbzip2 and gzip/ungzip with forward-only reading and file random access APIs. Write support for zip/tar/bzip2/gzip is implemented.
10
SqlSugarCore.Dm
达梦官方驱动 ,达梦,SqlSugar ORM .NET 国产ORM
10
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.
11
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.
12
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

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