System.Text.Encoding.CodePages
9.0.8
Prefix Reserved
See the version list below for details.
dotnet add package System.Text.Encoding.CodePages --version 9.0.8
NuGet\Install-Package System.Text.Encoding.CodePages -Version 9.0.8
<PackageReference Include="System.Text.Encoding.CodePages" Version="9.0.8" />
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.8" />
<PackageReference Include="System.Text.Encoding.CodePages" />
paket add System.Text.Encoding.CodePages --version 9.0.8
#r "nuget: System.Text.Encoding.CodePages, 9.0.8"
#:package System.Text.Encoding.CodePages@9.0.8
#addin nuget:?package=System.Text.Encoding.CodePages&version=9.0.8
#tool nuget:?package=System.Text.Encoding.CodePages&version=9.0.8
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
Related Packages
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid10 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. monotouch10 is compatible. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. xamarinmac20 is compatible. |
Xamarin.TVOS | xamarintvos was computed. xamarintvos10 is compatible. |
Xamarin.WatchOS | xamarinwatchos was computed. xamarinwatchos10 is compatible. |
-
.NETFramework 4.6.2
- System.Memory (>= 4.5.5)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
.NETStandard 2.0
- System.Memory (>= 4.5.5)
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1.7K)
Showing the top 5 NuGet packages that depend on System.Text.Encoding.CodePages:
Package | Downloads |
---|---|
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/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b. |
|
Microsoft.CodeAnalysis.CSharp
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b. |
|
Microsoft.CodeAnalysis.Workspaces.Common
A shared package used by the .NET Compiler Platform ("Roslyn") including support for analyzing projects and solutions. 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/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b. |
|
Microsoft.CodeAnalysis.CSharp.Workspaces
.NET Compiler Platform ("Roslyn") support for analyzing C# projects and solutions. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b. |
|
Microsoft.CodeAnalysis.VisualBasic
.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b. |
GitHub repositories (386)
Showing the top 20 popular GitHub repositories that depend on System.Text.Encoding.CodePages:
Repository | Stars |
---|---|
microsoft/PowerToys
Windows system utilities to maximize productivity
|
|
PowerShell/PowerShell
PowerShell for every system!
|
|
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
netchx/netch
A simple proxy client
|
|
Jackett/Jackett
API Support for your favorite torrent trackers
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
|
|
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
|
|
studyzy/imewlconverter
”深蓝词库转换“ 一款开源免费的输入法词库转换程序
|
|
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
|
|
AutoDarkMode/Windows-Auto-Night-Mode
Automatically switches between the dark and light theme of Windows 10 and Windows 11
|
|
XINCGer/Unity3DTraining
【Unity杂货铺】unity大杂烩~
|
|
neuecc/UniRx
Reactive Extensions for Unity
|
|
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
|
|
jstedfast/MailKit
A cross-platform .NET library for IMAP, POP3, and SMTP.
|
|
actions/runner
The Runner for GitHub Actions :rocket:
|
|
dotnet/msbuild
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
|
Version | Downloads | Last Updated | |
---|---|---|---|
10.0.0-preview.7.25380.108 | 660 | 8/12/2025 | |
10.0.0-preview.6.25358.103 | 2,961 | 7/15/2025 | |
10.0.0-preview.5.25277.114 | 4,690 | 6/6/2025 | |
10.0.0-preview.4.25258.110 | 3,868 | 5/12/2025 | |
10.0.0-preview.3.25171.5 | 4,949 | 4/10/2025 | |
10.0.0-preview.2.25163.2 | 2,716 | 3/18/2025 | |
10.0.0-preview.1.25080.5 | 7,545 | 2/25/2025 | |
9.0.8 | 97,587 | 8/4/2025 | |
9.0.7 | 181,791 | 7/8/2025 | |
9.0.6 | 342,804 | 6/10/2025 | |
9.0.5 | 410,178 | 5/13/2025 | |
9.0.4 | 782,932 | 4/8/2025 | |
9.0.3 | 1,245,939 | 3/11/2025 | |
9.0.2 | 835,400 | 2/11/2025 | |
9.0.1 | 1,407,769 | 1/14/2025 | |
9.0.0 | 2,090,152 | 11/12/2024 | |
9.0.0-rc.2.24473.5 | 33,890 | 10/8/2024 | |
9.0.0-rc.1.24431.7 | 30,397 | 9/10/2024 | |
9.0.0-preview.7.24405.7 | 15,870 | 8/13/2024 | |
9.0.0-preview.6.24327.7 | 27,208 | 7/9/2024 | |
9.0.0-preview.5.24306.7 | 20,570 | 6/11/2024 | |
9.0.0-preview.4.24266.19 | 7,991 | 5/21/2024 | |
9.0.0-preview.3.24172.9 | 20,217 | 4/11/2024 | |
9.0.0-preview.2.24128.5 | 5,863 | 3/12/2024 | |
9.0.0-preview.1.24080.9 | 37,578 | 2/13/2024 | |
8.0.0 | 60,497,207 | 11/14/2023 | |
8.0.0-rc.2.23479.6 | 60,940 | 10/10/2023 | |
8.0.0-rc.1.23419.4 | 75,658 | 9/12/2023 | |
8.0.0-preview.7.23375.6 | 63,685 | 8/8/2023 | |
8.0.0-preview.6.23329.7 | 11,423 | 7/11/2023 | |
8.0.0-preview.5.23280.8 | 9,299 | 6/13/2023 | |
8.0.0-preview.4.23259.5 | 23,098 | 5/16/2023 | |
8.0.0-preview.3.23174.8 | 35,293 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 24,413 | 3/14/2023 | |
8.0.0-preview.1.23110.8 | 28,985 | 2/21/2023 | |
7.0.0 | 84,179,017 | 11/7/2022 | |
7.0.0-rc.2.22472.3 | 67,043 | 10/11/2022 | |
7.0.0-rc.1.22426.10 | 73,548 | 9/14/2022 | |
7.0.0-preview.7.22375.6 | 18,829 | 8/9/2022 | |
7.0.0-preview.6.22324.4 | 8,532 | 7/12/2022 | |
7.0.0-preview.5.22301.12 | 9,511 | 6/14/2022 | |
7.0.0-preview.4.22229.4 | 16,603 | 5/10/2022 | |
7.0.0-preview.3.22175.4 | 8,442 | 4/13/2022 | |
7.0.0-preview.2.22152.2 | 16,997 | 3/14/2022 | |
7.0.0-preview.1.22076.8 | 7,895 | 2/17/2022 | |
6.0.1 | 224,280 | 11/12/2024 | |
6.0.0 | 378,751,239 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 33,540 | 10/12/2021 | |
6.0.0-rc.1.21451.13 | 18,189 | 9/14/2021 | |
6.0.0-preview.7.21377.19 | 17,957 | 8/10/2021 | |
6.0.0-preview.6.21352.12 | 33,122 | 7/14/2021 | |
6.0.0-preview.5.21301.5 | 11,601 | 6/15/2021 | |
6.0.0-preview.4.21253.7 | 27,021 | 5/24/2021 | |
6.0.0-preview.3.21201.4 | 18,245 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 42,210 | 3/11/2021 | |
6.0.0-preview.1.21102.12 | 49,425 | 2/12/2021 | |
5.0.0 | 255,128,941 | 11/9/2020 | |
5.0.0-rc.2.20475.5 | 25,756 | 10/13/2020 | |
5.0.0-rc.1.20451.14 | 34,896 | 9/14/2020 | |
5.0.0-preview.8.20407.11 | 22,423 | 8/25/2020 | |
5.0.0-preview.7.20364.11 | 62,096 | 7/21/2020 | |
5.0.0-preview.6.20305.6 | 270,402 | 6/25/2020 | |
5.0.0-preview.5.20278.1 | 32,601 | 6/10/2020 | |
5.0.0-preview.4.20251.6 | 23,773 | 5/18/2020 | |
5.0.0-preview.3.20214.6 | 52,719 | 4/23/2020 | |
5.0.0-preview.2.20160.6 | 7,094 | 4/2/2020 | |
5.0.0-preview.1.20120.5 | 36,649 | 3/16/2020 | |
4.7.1 | 43,637,058 | 5/12/2020 | |
4.7.0 | 351,670,271 | 12/3/2019 | |
4.7.0-preview3.19551.4 | 95,406 | 11/13/2019 | |
4.7.0-preview2.19523.17 | 27,066 | 11/1/2019 | |
4.7.0-preview1.19504.10 | 47,969 | 10/15/2019 | |
4.6.0 | 15,588,868 | 9/23/2019 | |
4.6.0-rc1.19456.4 | 66,519 | 9/16/2019 | |
4.6.0-preview9.19421.4 | 14,213 | 9/4/2019 | |
4.6.0-preview9.19416.11 | 1,599 | 9/4/2019 | |
4.6.0-preview8.19405.3 | 51,154 | 8/13/2019 | |
4.6.0-preview7.19362.9 | 46,935 | 7/23/2019 | |
4.6.0-preview6.19303.8 | 1,359,187 | 6/12/2019 | |
4.6.0-preview6.19264.9 | 1,718 | 9/4/2019 | |
4.6.0-preview5.19224.8 | 171,215 | 5/6/2019 | |
4.6.0-preview4.19212.13 | 327,703 | 4/18/2019 | |
4.6.0-preview3.19128.7 | 140,005 | 3/6/2019 | |
4.6.0-preview.19073.11 | 636,705 | 1/29/2019 | |
4.6.0-preview.18571.3 | 87,860 | 12/3/2018 | |
4.5.1 | 467,178,893 | 1/8/2019 | |
4.5.1-servicing-27114-05 | 4,222 | 11/28/2018 | |
4.5.0 | 266,219,352 | 5/29/2018 | |
4.5.0-rc1 | 396,931 | 5/6/2018 | |
4.5.0-preview2-26406-04 | 468,010 | 4/10/2018 | |
4.5.0-preview1-26216-02 | 372,303 | 2/26/2018 | |
4.5.0-preview1-25914-04 | 369,717 | 11/15/2017 | |
4.4.0 | 299,198,344 | 8/11/2017 | |
4.4.0-preview2-25405-01 | 300,503 | 6/27/2017 | |
4.4.0-preview1-25305-02 | 194,828 | 5/9/2017 | |
4.3.0 | 280,703,496 | 11/15/2016 | |
4.3.0-preview1-24530-04 | 35,417 | 10/24/2016 | |
4.0.1 | 253,784,515 | 6/27/2016 | |
4.0.1-rc2-24027 | 2,373,610 | 5/16/2016 | |
4.0.1-beta-23516 | 130,071 | 11/18/2015 | |
4.0.1-beta-23409 | 22,986 | 10/15/2015 | |
4.0.1-beta-23225 | 16,310 | 9/2/2015 | |
4.0.0 | 2,090,275 | 7/29/2015 | |
4.0.0-beta-23109 | 11,567 | 7/27/2015 | |
4.0.0-beta-23019 | 21,684 | 6/30/2015 | |
4.0.0-beta-22816 | 24,512 | 4/24/2015 | |
4.0.0-beta-22605 | 9,392 | 2/13/2015 | |
4.0.0-beta-22416 | 4,169 | 1/16/2015 | |
4.0.0-beta-22231 | 5,851 | 11/11/2014 |