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
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.
16
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.
16
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.
15
FreeSpire.Doc
Free Spire.Doc for .NET is a professional and reliable word component for commercial and personal use. It enables developers to quickly and easily generate, read, write, save, print and convert documents on any .NET applications (ASP.NET, WinForms and Web Service, .NET Core) and it supports in C#, VB.NET. The featured function, conversion allows converting Word documents (Word 97-2003, Word 2007, Word 2010, Word 2013) to commonly used file format, format, such as XML, RTF, TXT, PDF, XPS, EPUB, HTML and Image etc. Free Spire.Doc for.NET is 100% FREE word component. Free Spire.Doc for .NET Features: *No Microsoft Word Automation *Speed and Easy-to-Use *Batch of Great Functions *High Performance *Totally Free Main functions High quality conversion Rich Word Document Features Process Pre-Existing Word Documents Other Technical Features
15
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.
15
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/9934fb9e3527e1c0c51314e57d4aab30f97e8f9e.
15
System.Management.Automation
PowerShell runtime for hosting PowerShell Core
15
System.Management.Automation
Runtime for hosting PowerShell
15
MimeKitLite
MimeKit is an Open Source library for creating and parsing MIME messages. It also supports parsing of Unix mbox files. Unlike any other .NET MIME parser, MimeKit's parser does not need to parse string input nor does it use a TextReader. Instead, it parses raw byte streams, thus allowing it to better support undeclared 8bit text in headers as well as message bodies. It also means that MimeKit's parser is significantly faster than other .NET MIME parsers. MimeKit's parser also uses a real tokenizer when parsing the headers rather than regex or string.Split() like most other .NET MIME parsers. This means that MimeKit is much more RFC-compliant than any other .NET MIME parser out there, including the commercial implementations. In addition to having a far superior parser implementation, MimeKit's object tree is not a derivative of System.Net.Mail objects and thus does not suffer from System.Net.Mail's limitations. API documentation can be found on the web at http://www.mimekit.net/docs For those that need SMTP, POP3 or IMAP support, check out https://github.com/jstedfast/MailKit
15
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
15
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/e091728607ca0fc9efca55ccfb3e59259c6b5a0a.
14
FreeSpire.Doc
Free Spire.Doc for .NET is a professional and reliable word component for commercial and personal use. It enables developers to quickly and easily generate, read, write, save, print and convert documents on any .NET applications (ASP.NET, WinForms and Web Service, .NET Core) and it supports in C#, VB.NET. The featured function, conversion allows converting Word documents (Word 97-2003, Word 2007, Word 2010, Word 2013) to commonly used file format, format, such as XML, RTF, TXT, PDF, XPS, EPUB, HTML and Image etc. Free Spire.Doc for.NET is 100% FREE word component. Free Spire.Doc for .NET Features: *No Microsoft Word Automation *Speed and Easy-to-Use *Batch of Great Functions *High Performance *Totally Free Main functions High quality conversion Rich Word Document Features Process Pre-Existing Word Documents Other Technical Features
14
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.
14
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 0d659f4ac19119ade7252828ef45764ca3b6f1c3 When using NuGet 3.x this package requires at least version 3.4.
14
Microsoft.NETCore.UniversalWindowsPlatform
Provides a set of packages that can be used when building Universal Windows applications on .NETCore. 4a86d78425de41ee21f6b83b1625db768b6b2db6 When using NuGet 3.x this package requires at least version 3.4.
14
Microsoft.NETCore.UniversalWindowsPlatform
Provides a set of packages that can be used when building Universal Windows applications on .NET. 6.0.4 contains .NET Native 2.0. When using Visual Studio this package requires Visual Studio 2017 or later. When using NuGet 3.x this package requires at least version 3.4.
14

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.6.26359.118 0 14.07.2026
11.0.0-preview.5.26302.115 1 15.06.2026
11.0.0-preview.4.26230.115 2 17.05.2026
11.0.0-preview.3.26207.106 3 28.04.2026
11.0.0-preview.2.26159.112 2 28.04.2026
11.0.0-preview.1.26104.118 3 21.02.2026
10.0.10 0 14.07.2026
10.0.9 1 15.06.2026
10.0.8 2 17.05.2026
10.0.7 2 29.04.2026
10.0.6 2 29.04.2026
10.0.5 2 29.04.2026
10.0.4 2 29.04.2026
10.0.3 3 21.02.2026
10.0.2 4 15.01.2026
10.0.1 2 29.04.2026
10.0.0 4 10.12.2025
10.0.0-rc.2.25502.107 2 29.04.2026
10.0.0-rc.1.25451.107 2 29.04.2026
10.0.0-preview.7.25380.108 4 12.12.2025
10.0.0-preview.6.25358.103 5 06.08.2025
10.0.0-preview.5.25277.114 6 25.06.2025
10.0.0-preview.4.25258.110 6 25.06.2025
10.0.0-preview.3.25171.5 6 25.06.2025
10.0.0-preview.2.25163.2 6 19.03.2025
10.0.0-preview.1.25080.5 7 26.02.2025
9.0.18 0 14.07.2026
9.0.17 1 15.06.2026
9.0.16 2 17.05.2026
9.0.15 2 29.04.2026
9.0.14 2 29.04.2026
9.0.13 3 21.02.2026
9.0.12 4 15.01.2026
9.0.11 2 29.04.2026
9.0.10 2 29.04.2026
9.0.9 4 12.12.2025
9.0.8 4 12.12.2025
9.0.7 5 10.07.2025
9.0.6 6 24.06.2025
9.0.5 6 04.06.2025
9.0.4 6 04.06.2025
9.0.3 8 11.03.2025
9.0.2 9 25.02.2025
9.0.1 9 26.02.2025
9.0.0 8 26.02.2025
9.0.0-rc.2.24473.5 7 26.02.2025
9.0.0-rc.1.24431.7 7 26.02.2025
9.0.0-preview.7.24405.7 7 26.02.2025
9.0.0-preview.6.24327.7 8 26.02.2025
9.0.0-preview.5.24306.7 7 26.02.2025
9.0.0-preview.4.24266.19 7 26.02.2025
9.0.0-preview.3.24172.9 8 26.02.2025
9.0.0-preview.2.24128.5 7 26.02.2025
9.0.0-preview.1.24080.9 7 26.02.2025
8.0.0 9 26.02.2025
8.0.0-rc.2.23479.6 7 26.02.2025
8.0.0-rc.1.23419.4 7 26.02.2025
8.0.0-preview.7.23375.6 7 26.02.2025
8.0.0-preview.6.23329.7 7 26.02.2025
8.0.0-preview.5.23280.8 7 26.02.2025
8.0.0-preview.4.23259.5 7 26.02.2025
8.0.0-preview.3.23174.8 7 26.02.2025
8.0.0-preview.2.23128.3 7 26.02.2025
8.0.0-preview.1.23110.8 7 26.02.2025
7.0.0 9 26.02.2025
7.0.0-rc.2.22472.3 7 26.02.2025
7.0.0-rc.1.22426.10 7 26.02.2025
7.0.0-preview.7.22375.6 7 26.02.2025
7.0.0-preview.6.22324.4 7 26.02.2025
7.0.0-preview.5.22301.12 7 26.02.2025
7.0.0-preview.4.22229.4 7 26.02.2025
7.0.0-preview.3.22175.4 7 26.02.2025
7.0.0-preview.2.22152.2 8 26.02.2025
7.0.0-preview.1.22076.8 7 26.02.2025
6.0.1 8 26.02.2025
6.0.0 9 19.12.2024
6.0.0-rc.2.21480.5 7 26.02.2025
6.0.0-rc.1.21451.13 7 26.02.2025
6.0.0-preview.7.21377.19 7 26.02.2025
6.0.0-preview.6.21352.12 7 26.02.2025
6.0.0-preview.5.21301.5 7 26.02.2025
6.0.0-preview.4.21253.7 9 26.02.2025
6.0.0-preview.3.21201.4 7 26.02.2025
6.0.0-preview.2.21154.6 7 26.02.2025
6.0.0-preview.1.21102.12 7 26.02.2025
5.0.0 8 26.02.2025
5.0.0-rc.2.20475.5 7 26.02.2025
5.0.0-rc.1.20451.14 8 26.02.2025
5.0.0-preview.8.20407.11 11 26.02.2025
5.0.0-preview.7.20364.11 7 26.02.2025
5.0.0-preview.6.20305.6 7 26.02.2025
5.0.0-preview.5.20278.1 7 26.02.2025
5.0.0-preview.4.20251.6 8 26.02.2025
5.0.0-preview.3.20214.6 7 26.02.2025
5.0.0-preview.2.20160.6 7 26.02.2025
5.0.0-preview.1.20120.5 7 26.02.2025
4.7.1 8 26.02.2025
4.7.0 8 26.02.2025
4.7.0-preview3.19551.4 7 26.02.2025
4.7.0-preview2.19523.17 7 26.02.2025
4.7.0-preview1.19504.10 7 26.02.2025
4.6.0 9 26.02.2025
4.6.0-rc1.19456.4 8 26.02.2025
4.6.0-preview9.19421.4 7 26.02.2025
4.6.0-preview9.19416.11 6 26.02.2025
4.6.0-preview8.19405.3 7 26.02.2025
4.6.0-preview7.19362.9 7 26.02.2025
4.6.0-preview6.19303.8 7 26.02.2025
4.6.0-preview6.19264.9 7 26.02.2025
4.6.0-preview5.19224.8 8 26.02.2025
4.6.0-preview4.19212.13 7 26.02.2025
4.6.0-preview3.19128.7 7 26.02.2025
4.6.0-preview.19073.11 7 26.02.2025
4.6.0-preview.18571.3 7 26.02.2025
4.5.1 8 26.02.2025
4.5.1-servicing-27114-05 7 26.02.2025
4.5.0 8 26.02.2025
4.5.0-rc1 11 26.02.2025
4.5.0-preview2-26406-04 6 26.02.2025
4.5.0-preview1-26216-02 7 26.02.2025
4.5.0-preview1-25914-04 7 26.02.2025
4.4.0 9 26.02.2025
4.4.0-preview2-25405-01 6 26.02.2025
4.4.0-preview1-25305-02 6 26.02.2025
4.3.0 8 26.02.2025
4.3.0-preview1-24530-04 6 26.02.2025
4.0.1 8 26.02.2025
4.0.1-rc2-24027 7 26.02.2025
4.0.1-beta-23516 7 26.02.2025
4.0.1-beta-23409 7 26.02.2025
4.0.1-beta-23225 7 26.02.2025
4.0.0 8 26.02.2025
4.0.0-beta-23109 7 26.02.2025
4.0.0-beta-23019 7 26.02.2025
4.0.0-beta-22816 8 26.02.2025
4.0.0-beta-22605 7 26.02.2025
4.0.0-beta-22416 7 26.02.2025
4.0.0-beta-22231 8 26.02.2025