System.Text.Encoding.CodePages 11.0.0

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.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
204
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
198
Microsoft.Build.Utilities.Core
This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks.
193
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
192
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
187
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
185
Microsoft.Build.Utilities.Core
This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks.
185
Microsoft.Build.Utilities.Core
This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks.
184
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
183
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
181
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
180
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
179
Microsoft.Build.Utilities.Core
This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks.
178
Microsoft.Build.Utilities.Core
This package contains the Microsoft.Build.Utilities assembly which is used to implement custom MSBuild tasks.
177
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
177
Microsoft.NETCore.UniversalWindowsPlatform
Provides a set of packages that can be used when building Universal Windows applications on .NET. 5.2.4 contains .NET Native 1.4 plus the following fix: - Updated the WCF packages which contain bug fixes. When using Visual Studio this package requires Visual Studio 2015 Update 3 or later. When using NuGet 3.x this package requires at least version 3.4.
176
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
176
Microsoft.Build
This package contains the Microsoft.Build assembly which is used to create, edit, and evaluate MSBuild projects.
173

.NET 10.0

  • No dependencies.

.NET 11.0

  • No dependencies.

.NET Framework 4.6.2

.NET Standard 2.0

Version Downloads Last updated
11.0.0 6 11/10/2026
11.0.0-rc.3.26522.148 18 10/26/2026
11.0.0-rc.2.26504.105 14 10/14/2026
11.0.0-rc.1.26425.128 23 9/10/2026
11.0.0-preview.7.26381.103 37 8/13/2026
11.0.0-preview.6.26359.118 40 7/16/2026
11.0.0-preview.5.26302.115 37 6/10/2026
11.0.0-preview.4.26230.115 42 5/12/2026
11.0.0-preview.3.26207.106 43 5/4/2026
11.0.0-preview.2.26159.112 56 3/12/2026
11.0.0-preview.1.26104.118 39 2/10/2026
10.0.15 5 11/10/2026
10.0.14 21 10/27/2026
10.0.13 22 10/14/2026
10.0.12 29 9/9/2026
10.0.11 26 8/13/2026
10.0.10 40 7/16/2026
10.0.9 41 6/11/2026
10.0.8 54 5/12/2026
10.0.7 52 5/4/2026
10.0.6 51 5/4/2026
10.0.5 45 3/14/2026
10.0.4 57 3/12/2026
10.0.3 47 2/10/2026
10.0.2 58 1/13/2026
10.0.1 72 12/10/2025
10.0.0 78 11/12/2025
10.0.0-rc.2.25502.107 94 10/15/2025
10.0.0-rc.1.25451.107 106 9/14/2025
10.0.0-preview.7.25380.108 102 8/12/2025
10.0.0-preview.6.25358.103 114 7/19/2025
10.0.0-preview.5.25277.114 104 6/8/2025
10.0.0-preview.4.25258.110 109 5/16/2025
10.0.0-preview.3.25171.5 104 4/11/2025
10.0.0-preview.2.25163.2 135 3/23/2025
10.0.0-preview.1.25080.5 129 2/27/2025
9.0.23 5 11/10/2026
9.0.22 20 10/27/2026
9.0.21 19 10/14/2026
9.0.20 26 9/9/2026
9.0.19 23 8/13/2026
9.0.18 35 7/16/2026
9.0.17 31 6/10/2026
9.0.16 32 5/12/2026
9.0.15 46 5/4/2026
9.0.14 56 3/12/2026
9.0.13 44 2/10/2026
9.0.12 44 1/13/2026
9.0.11 75 11/12/2025
9.0.10 92 10/15/2025
9.0.9 88 9/15/2025
9.0.8 102 8/5/2025
9.0.7 118 7/11/2025
9.0.6 115 6/15/2025
9.0.5 122 5/17/2025
9.0.4 133 4/9/2025
9.0.3 119 3/14/2025
9.0.2 149 2/14/2025
9.0.1 138 1/17/2025
9.0.0 129 11/18/2024
9.0.0-rc.2.24473.5 125 10/13/2024
9.0.0-rc.1.24431.7 140 9/11/2024
9.0.0-preview.7.24405.7 153 8/13/2024
9.0.0-preview.6.24327.7 144 7/10/2024
9.0.0-preview.5.24306.7 155 6/14/2024
9.0.0-preview.4.24266.19 138 6/4/2024
9.0.0-preview.3.24172.9 134 4/18/2024
9.0.0-preview.2.24128.5 142 3/27/2024
9.0.0-preview.1.24080.9 158 2/21/2024
8.0.0 153 11/15/2023
8.0.0-rc.2.23479.6 148 10/16/2023
8.0.0-rc.1.23419.4 154 9/15/2023
8.0.0-preview.7.23375.6 149 8/23/2023
8.0.0-preview.6.23329.7 138 7/31/2023
8.0.0-preview.5.23280.8 164 8/1/2023
8.0.0-preview.4.23259.5 140 8/1/2023
8.0.0-preview.3.23174.8 156 5/12/2023
8.0.0-preview.2.23128.3 151 5/6/2023
8.0.0-preview.1.23110.8 159 2/23/2023
7.0.0 143 12/3/2022
7.0.0-rc.2.22472.3 166 12/3/2022
7.0.0-rc.1.22426.10 161 9/15/2022
7.0.0-preview.7.22375.6 161 9/14/2022
7.0.0-preview.6.22324.4 148 8/12/2022
7.0.0-preview.5.22301.12 152 6/27/2022
7.0.0-preview.4.22229.4 168 6/27/2022
7.0.0-preview.3.22175.4 165 6/27/2022
7.0.0-preview.2.22152.2 151 6/27/2022
7.0.0-preview.1.22076.8 148 6/27/2022
6.0.2-mauipre.1.22102.15 147 6/27/2022
6.0.2-mauipre.1.22054.8 157 6/27/2022
6.0.1 126 11/18/2024
6.0.0 171 6/27/2022
6.0.0-rc.2.21480.5 135 6/27/2022
6.0.0-rc.1.21451.13 149 6/27/2022
6.0.0-preview.7.21377.19 159 6/27/2022
6.0.0-preview.6.21352.12 150 6/27/2022
6.0.0-preview.5.21301.5 162 6/27/2022
6.0.0-preview.4.21253.7 166 6/27/2022
6.0.0-preview.3.21201.4 155 6/27/2022
6.0.0-preview.2.21154.6 150 6/27/2022
6.0.0-preview.1.21102.12 144 6/27/2022
5.0.0 149 6/27/2022
5.0.0-rc.2.20475.5 153 6/27/2022
5.0.0-rc.1.20451.14 166 6/27/2022
5.0.0-preview.8.20407.11 173 6/27/2022
5.0.0-preview.7.20364.11 139 6/27/2022
5.0.0-preview.6.20305.6 154 6/27/2022
5.0.0-preview.5.20278.1 159 6/27/2022
5.0.0-preview.4.20251.6 166 6/27/2022
5.0.0-preview.3.20214.6 173 6/27/2022
5.0.0-preview.2.20160.6 150 6/27/2022
5.0.0-preview.1.20120.5 153 6/27/2022
4.7.1 162 6/27/2022
4.7.0 148 6/27/2022
4.7.0-preview3.19551.4 150 6/27/2022
4.7.0-preview2.19523.17 163 6/27/2022
4.7.0-preview1.19504.10 150 6/27/2022
4.6.0 161 6/27/2022
4.6.0-rc1.19456.4 157 6/27/2022
4.6.0-preview9.19421.4 156 6/27/2022
4.6.0-preview9.19416.11 162 6/27/2022
4.6.0-preview8.19405.3 162 6/27/2022
4.6.0-preview7.19362.9 150 6/27/2022
4.6.0-preview6.19303.8 152 6/27/2022
4.6.0-preview6.19264.9 158 6/27/2022
4.6.0-preview5.19224.8 160 6/27/2022
4.6.0-preview4.19212.13 152 6/27/2022
4.6.0-preview3.19128.7 170 6/27/2022
4.6.0-preview.19073.11 162 6/27/2022
4.6.0-preview.18571.3 140 6/27/2022
4.5.1 149 6/27/2022
4.5.1-servicing-27114-05 157 6/27/2022
4.5.0 143 6/27/2022
4.5.0-rc1 142 6/27/2022
4.5.0-preview2-26406-04 162 6/27/2022
4.5.0-preview1-26216-02 157 6/27/2022
4.5.0-preview1-25914-04 167 6/27/2022
4.4.0 146 6/27/2022
4.4.0-preview2-25405-01 142 6/27/2022
4.4.0-preview1-25305-02 156 6/27/2022
4.3.0 154 6/27/2022
4.3.0-preview1-24530-04 163 6/27/2022
4.0.1 144 6/27/2022
4.0.1-rc2-24027 155 6/27/2022
4.0.1-beta-23516 162 6/27/2022
4.0.1-beta-23409 168 6/27/2022
4.0.1-beta-23225 152 6/27/2022
4.0.0 157 6/27/2022
4.0.0-beta-23109 138 6/27/2022
4.0.0-beta-23019 130 6/27/2022
4.0.0-beta-22816 165 6/27/2022
4.0.0-beta-22605 128 6/27/2022
4.0.0-beta-22416 176 6/27/2022
4.0.0-beta-22231 166 6/27/2022