System.Text.Encoding.CodePages
10.0.0-rc.1.25451.107
Prefix Reserved
dotnet add package System.Text.Encoding.CodePages --version 10.0.0-rc.1.25451.107
NuGet\Install-Package System.Text.Encoding.CodePages -Version 10.0.0-rc.1.25451.107
<PackageReference Include="System.Text.Encoding.CodePages" Version="10.0.0-rc.1.25451.107" />
<PackageVersion Include="System.Text.Encoding.CodePages" Version="10.0.0-rc.1.25451.107" />
<PackageReference Include="System.Text.Encoding.CodePages" />
paket add System.Text.Encoding.CodePages --version 10.0.0-rc.1.25451.107
#r "nuget: System.Text.Encoding.CodePages, 10.0.0-rc.1.25451.107"
#:package System.Text.Encoding.CodePages@10.0.0-rc.1.25451.107
#addin nuget:?package=System.Text.Encoding.CodePages&version=10.0.0-rc.1.25451.107&prerelease
#tool nuget:?package=System.Text.Encoding.CodePages&version=10.0.0-rc.1.25451.107&prerelease
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 is compatible. 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.6.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.ValueTuple (>= 4.6.1)
-
.NETStandard 2.0
- System.Memory (>= 4.6.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
-
net10.0
- No dependencies.
-
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 (390)
Showing the top 20 popular GitHub repositories that depend on System.Text.Encoding.CodePages:
Repository | Stars |
---|---|
microsoft/PowerToys
Windows system utilities to maximize productivity
|
|
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.
|
|
AngleSharp/AngleSharp
:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
|
Version | Downloads | Last Updated | |
---|---|---|---|
10.0.0-rc.1.25451.107 | 401 | 9/9/2025 | |
10.0.0-preview.7.25380.108 | 2,155 | 8/12/2025 | |
10.0.0-preview.6.25358.103 | 5,910 | 7/15/2025 | |
10.0.0-preview.5.25277.114 | 7,272 | 6/6/2025 | |
10.0.0-preview.4.25258.110 | 4,198 | 5/12/2025 | |
10.0.0-preview.3.25171.5 | 5,304 | 4/10/2025 | |
10.0.0-preview.2.25163.2 | 2,925 | 3/18/2025 | |
10.0.0-preview.1.25080.5 | 8,437 | 2/25/2025 | |
9.0.9 | 8,686 | 9/9/2025 | |
9.0.8 | 323,971 | 8/4/2025 | |
9.0.7 | 297,512 | 7/8/2025 | |
9.0.6 | 440,335 | 6/10/2025 | |
9.0.5 | 478,417 | 5/13/2025 | |
9.0.4 | 908,486 | 4/8/2025 | |
9.0.3 | 1,493,513 | 3/11/2025 | |
9.0.2 | 942,258 | 2/11/2025 | |
9.0.1 | 1,534,002 | 1/14/2025 | |
9.0.0 | 2,327,900 | 11/12/2024 | |
9.0.0-rc.2.24473.5 | 34,242 | 10/8/2024 | |
9.0.0-rc.1.24431.7 | 31,101 | 9/10/2024 | |
9.0.0-preview.7.24405.7 | 16,210 | 8/13/2024 | |
9.0.0-preview.6.24327.7 | 27,563 | 7/9/2024 | |
9.0.0-preview.5.24306.7 | 20,909 | 6/11/2024 | |
9.0.0-preview.4.24266.19 | 8,128 | 5/21/2024 | |
9.0.0-preview.3.24172.9 | 20,662 | 4/11/2024 | |
9.0.0-preview.2.24128.5 | 5,996 | 3/12/2024 | |
9.0.0-preview.1.24080.9 | 38,819 | 2/13/2024 | |
8.0.0 | 64,523,511 | 11/14/2023 | |
8.0.0-rc.2.23479.6 | 62,955 | 10/10/2023 | |
8.0.0-rc.1.23419.4 | 75,884 | 9/12/2023 | |
8.0.0-preview.7.23375.6 | 64,965 | 8/8/2023 | |
8.0.0-preview.6.23329.7 | 11,650 | 7/11/2023 | |
8.0.0-preview.5.23280.8 | 9,374 | 6/13/2023 | |
8.0.0-preview.4.23259.5 | 23,244 | 5/16/2023 | |
8.0.0-preview.3.23174.8 | 35,380 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 24,566 | 3/14/2023 | |
8.0.0-preview.1.23110.8 | 29,108 | 2/21/2023 | |
7.0.0 | 87,934,243 | 11/7/2022 | |
7.0.0-rc.2.22472.3 | 67,870 | 10/11/2022 | |
7.0.0-rc.1.22426.10 | 73,741 | 9/14/2022 | |
7.0.0-preview.7.22375.6 | 18,893 | 8/9/2022 | |
7.0.0-preview.6.22324.4 | 8,578 | 7/12/2022 | |
7.0.0-preview.5.22301.12 | 9,631 | 6/14/2022 | |
7.0.0-preview.4.22229.4 | 16,694 | 5/10/2022 | |
7.0.0-preview.3.22175.4 | 8,609 | 4/13/2022 | |
7.0.0-preview.2.22152.2 | 17,051 | 3/14/2022 | |
7.0.0-preview.1.22076.8 | 7,944 | 2/17/2022 | |
6.0.1 | 267,019 | 11/12/2024 | |
6.0.0 | 395,019,708 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 33,789 | 10/12/2021 | |
6.0.0-rc.1.21451.13 | 18,301 | 9/14/2021 | |
6.0.0-preview.7.21377.19 | 18,006 | 8/10/2021 | |
6.0.0-preview.6.21352.12 | 33,572 | 7/14/2021 | |
6.0.0-preview.5.21301.5 | 12,295 | 6/15/2021 | |
6.0.0-preview.4.21253.7 | 27,072 | 5/24/2021 | |
6.0.0-preview.3.21201.4 | 18,302 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 42,796 | 3/11/2021 | |
6.0.0-preview.1.21102.12 | 49,655 | 2/12/2021 | |
5.0.0 | 259,724,169 | 11/9/2020 | |
5.0.0-rc.2.20475.5 | 25,875 | 10/13/2020 | |
5.0.0-rc.1.20451.14 | 34,990 | 9/14/2020 | |
5.0.0-preview.8.20407.11 | 22,521 | 8/25/2020 | |
5.0.0-preview.7.20364.11 | 62,266 | 7/21/2020 | |
5.0.0-preview.6.20305.6 | 273,031 | 6/25/2020 | |
5.0.0-preview.5.20278.1 | 33,109 | 6/10/2020 | |
5.0.0-preview.4.20251.6 | 23,820 | 5/18/2020 | |
5.0.0-preview.3.20214.6 | 53,079 | 4/23/2020 | |
5.0.0-preview.2.20160.6 | 7,137 | 4/2/2020 | |
5.0.0-preview.1.20120.5 | 36,794 | 3/16/2020 | |
4.7.1 | 44,303,337 | 5/12/2020 | |
4.7.0 | 355,690,529 | 12/3/2019 | |
4.7.0-preview3.19551.4 | 95,726 | 11/13/2019 | |
4.7.0-preview2.19523.17 | 27,158 | 11/1/2019 | |
4.7.0-preview1.19504.10 | 48,060 | 10/15/2019 | |
4.6.0 | 15,693,140 | 9/23/2019 | |
4.6.0-rc1.19456.4 | 66,592 | 9/16/2019 | |
4.6.0-preview9.19421.4 | 14,264 | 9/4/2019 | |
4.6.0-preview9.19416.11 | 1,641 | 9/4/2019 | |
4.6.0-preview8.19405.3 | 51,265 | 8/13/2019 | |
4.6.0-preview7.19362.9 | 47,053 | 7/23/2019 | |
4.6.0-preview6.19303.8 | 1,398,441 | 6/12/2019 | |
4.6.0-preview6.19264.9 | 1,761 | 9/4/2019 | |
4.6.0-preview5.19224.8 | 171,663 | 5/6/2019 | |
4.6.0-preview4.19212.13 | 330,211 | 4/18/2019 | |
4.6.0-preview3.19128.7 | 140,090 | 3/6/2019 | |
4.6.0-preview.19073.11 | 637,056 | 1/29/2019 | |
4.6.0-preview.18571.3 | 88,161 | 12/3/2018 | |
4.5.1 | 474,417,289 | 1/8/2019 | |
4.5.1-servicing-27114-05 | 4,269 | 11/28/2018 | |
4.5.0 | 268,949,093 | 5/29/2018 | |
4.5.0-rc1 | 397,210 | 5/6/2018 | |
4.5.0-preview2-26406-04 | 468,491 | 4/10/2018 | |
4.5.0-preview1-26216-02 | 372,683 | 2/26/2018 | |
4.5.0-preview1-25914-04 | 370,027 | 11/15/2017 | |
4.4.0 | 302,614,728 | 8/11/2017 | |
4.4.0-preview2-25405-01 | 307,306 | 6/27/2017 | |
4.4.0-preview1-25305-02 | 195,159 | 5/9/2017 | |
4.3.0 | 284,710,620 | 11/15/2016 | |
4.3.0-preview1-24530-04 | 35,470 | 10/24/2016 | |
4.0.1 | 256,387,777 | 6/27/2016 | |
4.0.1-rc2-24027 | 2,374,777 | 5/16/2016 | |
4.0.1-beta-23516 | 130,123 | 11/18/2015 | |
4.0.1-beta-23409 | 23,038 | 10/15/2015 | |
4.0.1-beta-23225 | 16,364 | 9/2/2015 | |
4.0.0 | 2,095,830 | 7/29/2015 | |
4.0.0-beta-23109 | 11,622 | 7/27/2015 | |
4.0.0-beta-23019 | 21,751 | 6/30/2015 | |
4.0.0-beta-22816 | 24,571 | 4/24/2015 | |
4.0.0-beta-22605 | 9,449 | 2/13/2015 | |
4.0.0-beta-22416 | 4,227 | 1/16/2015 | |
4.0.0-beta-22231 | 6,130 | 11/11/2014 |