dotnet / dotnet/dotnet-api-docs

How to use the "CodePagesEncodingProvider" Class at .NET core 2.1?

Open
#827 3 comments 0 reactions 0 assignees View on GitHub
area-System.Text.Encoding dotnet-api/prod Pri2
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

I want to use the code page (e.g. code page 936) which is not supported in UWP apps. I can get the code page 936 by use the "CodePagesEncodingProvider" class at .NET core 2.0, but it seems that there is not available at .NET core 2.1, how to fix this?
Best regards.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: a5c26a9c-9378-f153-0e10-2d893d8ea178
* Version Independent ID: 5a122d68-cd0b-abe8-fd6c-258d44c816a2
* Content: [CodePagesEncodingProvider Class (System.Text)](https://docs.microsoft.com/en-us/dotnet/api/system.text.codepagesencodingprovider?view=netcore-2.0&viewFallbackFrom=netcore-2.1)
* Content Source: [xml/System.Text/CodePagesEncodingProvider.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Text/CodePagesEncodingProvider.xml)
* Product: **dotnet-api**
* GitHub Login: @rpetrusha
* Microsoft Alias: **ronpet**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.