System.Text.Encoding.CodePages
10.0.0-preview.2.25163.2
Prefix Reserved
See the version list below for details.
dotnet add package System.Text.Encoding.CodePages --version 10.0.0-preview.2.25163.2
NuGet\Install-Package System.Text.Encoding.CodePages -Version 10.0.0-preview.2.25163.2
<PackageReference Include="System.Text.Encoding.CodePages" Version="10.0.0-preview.2.25163.2" />
<PackageVersion Include="System.Text.Encoding.CodePages" Version="10.0.0-preview.2.25163.2" />
<PackageReference Include="System.Text.Encoding.CodePages" />
paket add System.Text.Encoding.CodePages --version 10.0.0-preview.2.25163.2
#r "nuget: System.Text.Encoding.CodePages, 10.0.0-preview.2.25163.2"
#addin nuget:?package=System.Text.Encoding.CodePages&version=10.0.0-preview.2.25163.2&prerelease
#tool nuget:?package=System.Text.Encoding.CodePages&version=10.0.0-preview.2.25163.2&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. |
.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.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
-
.NETStandard 2.0
- System.Memory (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1.6K)
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/75e79dace86b274327a1afe479228d82a06051a4. |
|
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/75e79dace86b274327a1afe479228d82a06051a4. |
|
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/75e79dace86b274327a1afe479228d82a06051a4. |
|
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/75e79dace86b274327a1afe479228d82a06051a4. |
|
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/75e79dace86b274327a1afe479228d82a06051a4. |
GitHub repositories (381)
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
|
|
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.
|
|
Jackett/Jackett
API Support for your favorite torrent trackers
|
|
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.
|
|
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
|
|
studyzy/imewlconverter
”深蓝词库转换“ 一款开源免费的输入法词库转换程序
|
|
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.
|
|
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-preview.3.25171.5 | 1,374 | 4/10/2025 | |
10.0.0-preview.2.25163.2 | 2,069 | 3/18/2025 | |
10.0.0-preview.1.25080.5 | 3,344 | 2/25/2025 | |
9.0.4 | 90,259 | 4/8/2025 | |
9.0.3 | 408,797 | 3/11/2025 | |
9.0.2 | 457,640 | 2/11/2025 | |
9.0.1 | 885,325 | 1/14/2025 | |
9.0.0 | 1,301,251 | 11/12/2024 | |
9.0.0-rc.2.24473.5 | 31,470 | 10/8/2024 | |
9.0.0-rc.1.24431.7 | 25,331 | 9/10/2024 | |
9.0.0-preview.7.24405.7 | 14,636 | 8/13/2024 | |
9.0.0-preview.6.24327.7 | 24,760 | 7/9/2024 | |
9.0.0-preview.5.24306.7 | 17,172 | 6/11/2024 | |
9.0.0-preview.4.24266.19 | 7,242 | 5/21/2024 | |
9.0.0-preview.3.24172.9 | 18,049 | 4/11/2024 | |
9.0.0-preview.2.24128.5 | 5,284 | 3/12/2024 | |
9.0.0-preview.1.24080.9 | 31,452 | 2/13/2024 | |
8.0.0 | 45,735,178 | 11/14/2023 | |
8.0.0-rc.2.23479.6 | 51,021 | 10/10/2023 | |
8.0.0-rc.1.23419.4 | 74,044 | 9/12/2023 | |
8.0.0-preview.7.23375.6 | 59,369 | 8/8/2023 | |
8.0.0-preview.6.23329.7 | 10,018 | 7/11/2023 | |
8.0.0-preview.5.23280.8 | 8,993 | 6/13/2023 | |
8.0.0-preview.4.23259.5 | 22,304 | 5/16/2023 | |
8.0.0-preview.3.23174.8 | 34,811 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 23,942 | 3/14/2023 | |
8.0.0-preview.1.23110.8 | 28,527 | 2/21/2023 | |
7.0.0 | 70,758,526 | 11/7/2022 | |
7.0.0-rc.2.22472.3 | 64,028 | 10/11/2022 | |
7.0.0-rc.1.22426.10 | 73,038 | 9/14/2022 | |
7.0.0-preview.7.22375.6 | 18,444 | 8/9/2022 | |
7.0.0-preview.6.22324.4 | 8,311 | 7/12/2022 | |
7.0.0-preview.5.22301.12 | 8,986 | 6/14/2022 | |
7.0.0-preview.4.22229.4 | 16,161 | 5/10/2022 | |
7.0.0-preview.3.22175.4 | 8,014 | 4/13/2022 | |
7.0.0-preview.2.22152.2 | 16,686 | 3/14/2022 | |
7.0.0-preview.1.22076.8 | 7,646 | 2/17/2022 | |
6.0.1 | 81,315 | 11/12/2024 | |
6.0.0 | 318,740,547 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 32,407 | 10/12/2021 | |
6.0.0-rc.1.21451.13 | 17,748 | 9/14/2021 | |
6.0.0-preview.7.21377.19 | 17,474 | 8/10/2021 | |
6.0.0-preview.6.21352.12 | 31,245 | 7/14/2021 | |
6.0.0-preview.5.21301.5 | 10,937 | 6/15/2021 | |
6.0.0-preview.4.21253.7 | 26,768 | 5/24/2021 | |
6.0.0-preview.3.21201.4 | 17,897 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 38,924 | 3/11/2021 | |
6.0.0-preview.1.21102.12 | 45,145 | 2/12/2021 | |
5.0.0 | 236,617,949 | 11/9/2020 | |
5.0.0-rc.2.20475.5 | 25,280 | 10/13/2020 | |
5.0.0-rc.1.20451.14 | 34,647 | 9/14/2020 | |
5.0.0-preview.8.20407.11 | 21,875 | 8/25/2020 | |
5.0.0-preview.7.20364.11 | 61,464 | 7/21/2020 | |
5.0.0-preview.6.20305.6 | 257,519 | 6/25/2020 | |
5.0.0-preview.5.20278.1 | 30,850 | 6/10/2020 | |
5.0.0-preview.4.20251.6 | 23,399 | 5/18/2020 | |
5.0.0-preview.3.20214.6 | 49,312 | 4/23/2020 | |
5.0.0-preview.2.20160.6 | 6,848 | 4/2/2020 | |
5.0.0-preview.1.20120.5 | 35,653 | 3/16/2020 | |
4.7.1 | 40,884,177 | 5/12/2020 | |
4.7.0 | 335,258,195 | 12/3/2019 | |
4.7.0-preview3.19551.4 | 94,074 | 11/13/2019 | |
4.7.0-preview2.19523.17 | 26,504 | 11/1/2019 | |
4.7.0-preview1.19504.10 | 47,522 | 10/15/2019 | |
4.6.0 | 15,197,920 | 9/23/2019 | |
4.6.0-rc1.19456.4 | 66,133 | 9/16/2019 | |
4.6.0-preview9.19421.4 | 13,917 | 9/4/2019 | |
4.6.0-preview9.19416.11 | 1,379 | 9/4/2019 | |
4.6.0-preview8.19405.3 | 50,391 | 8/13/2019 | |
4.6.0-preview7.19362.9 | 46,533 | 7/23/2019 | |
4.6.0-preview6.19303.8 | 1,203,569 | 6/12/2019 | |
4.6.0-preview6.19264.9 | 1,498 | 9/4/2019 | |
4.6.0-preview5.19224.8 | 169,721 | 5/6/2019 | |
4.6.0-preview4.19212.13 | 313,399 | 4/18/2019 | |
4.6.0-preview3.19128.7 | 139,596 | 3/6/2019 | |
4.6.0-preview.19073.11 | 635,536 | 1/29/2019 | |
4.6.0-preview.18571.3 | 86,578 | 12/3/2018 | |
4.5.1 | 438,512,667 | 1/8/2019 | |
4.5.1-servicing-27114-05 | 4,000 | 11/28/2018 | |
4.5.0 | 255,446,480 | 5/29/2018 | |
4.5.0-rc1 | 395,516 | 5/6/2018 | |
4.5.0-preview2-26406-04 | 466,068 | 4/10/2018 | |
4.5.0-preview1-26216-02 | 370,960 | 2/26/2018 | |
4.5.0-preview1-25914-04 | 368,562 | 11/15/2017 | |
4.4.0 | 285,440,923 | 8/11/2017 | |
4.4.0-preview2-25405-01 | 271,046 | 6/27/2017 | |
4.4.0-preview1-25305-02 | 192,792 | 5/9/2017 | |
4.3.0 | 265,004,457 | 11/15/2016 | |
4.3.0-preview1-24530-04 | 35,076 | 10/24/2016 | |
4.0.1 | 242,840,513 | 6/27/2016 | |
4.0.1-rc2-24027 | 2,369,143 | 5/16/2016 | |
4.0.1-beta-23516 | 129,727 | 11/18/2015 | |
4.0.1-beta-23409 | 22,642 | 10/15/2015 | |
4.0.1-beta-23225 | 15,973 | 9/2/2015 | |
4.0.0 | 2,068,003 | 7/29/2015 | |
4.0.0-beta-23109 | 11,217 | 7/27/2015 | |
4.0.0-beta-23019 | 21,288 | 6/30/2015 | |
4.0.0-beta-22816 | 24,105 | 4/24/2015 | |
4.0.0-beta-22605 | 8,990 | 2/13/2015 | |
4.0.0-beta-22416 | 3,762 | 1/16/2015 | |
4.0.0-beta-22231 | 5,110 | 11/11/2014 |