System.Text.Encoding.CodePages 10.0.13

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
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
45
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
44
Microsoft.NETCore.UniversalWindowsPlatform
Provides a set of packages that can be used when building Universal Windows applications on .NETCore. d67bd83a075b8b10cb95810568073c1a3211f28b When using NuGet 3.x this package requires at least version 3.4.
43
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/8de9e4b2beba5b7c0edd6f1e6a4f192a51fdc872.
43
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
43
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/c94e32157c34fa777f674242cd08cfdc98737d62.
42
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
42
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.
41
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. Supported Platforms: - .NET Framework 4.5 - Windows 8 - Portable Class Libraries
41
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. This package was built from the source at https://github.com/dotnet/roslyn/commit/ab56a4a6c32268d925014a3e45ddce61fba715cd
41
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
41
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/6a5a63bbc9f4449d9bd1e95a8f9624939c3ccdc3.
40
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/e595ee276d14e14bfb3eb323fb57f2aa668bddea
40
SixLabors.ImageSharp
A new, fully featured, fully managed, cross-platform, 2D graphics API for .NET
40
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/2c94423e50a72aea8a4962d8722641d06bc88b13
39

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