Skip to content

Commit c5b06eb

Browse files
jkotasRon Petrusha
authored andcommitted
Update CodePagesEncodingProvider.xml (#2353)
* Update CodePagesEncodingProvider.xml * Update xml/System.Text/CodePagesEncodingProvider.xml Co-Authored-By: jkotas <[email protected]>
1 parent c997cb2 commit c5b06eb

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

xml/System.Text/CodePagesEncodingProvider.xml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@
2525
</Attribute>
2626
</Attributes>
2727
<Docs>
28-
<summary>Provides access to an encoding provider for code pages supported in the desktop .NET Framework but not in UWP apps.</summary>
28+
<summary>Provides access to an encoding provider for code pages that otherwise are available only in the desktop .NET Framework.</summary>
2929
<remarks>
3030
<format type="text/markdown"><![CDATA[
3131
3232
## Remarks
33-
34-
> [!NOTE]
35-
> The <xref:System.Text.CodePagesEncodingProvider> class is supported in the .NET Native implementation of .NET Core only.
36-
37-
The .NET Framework for the Windows desktop supports a large set of Unicode and code page encodings. The Universal Windows platform and .NET Native, on the other hand, support only the following encodings:
33+
34+
The .NET Framework for the Windows desktop supports a large set of Unicode and code page encodings. .NET Core, on the other hand, supports only the following encodings:
3835
3936
- ASCII (code page 20127), which is returned by the <xref:System.Text.Encoding.ASCII%2A?displayProperty=nameWithType> property.
4037
@@ -54,7 +51,7 @@
5451
5552
Other than code page 20127, code page encodings are not supported.
5653
57-
The <xref:System.Text.CodePagesEncodingProvider> class extends <xref:System.Text.EncodingProvider> to make these code pages available to .NET Native and Universal Windows Platform (UWP) apps. To use these additional code pages, you do the following:
54+
The <xref:System.Text.CodePagesEncodingProvider> class extends <xref:System.Text.EncodingProvider> to make these code pages available to .NET Core. To use these additional code pages, you do the following:
5855
5956
- Add a reference to the System.Text.Encoding.CodePages.dll assembly to your project.
6057
@@ -147,9 +144,8 @@
147144
<format type="text/markdown"><![CDATA[
148145
149146
## Remarks
150-
The <xref:System.Text.CodePagesEncodingProvider.Instance%2A> property returns an <xref:System.Text.EncodingProvider> object that makes encodings available to apps that target the [!INCLUDE[net_v46](~/includes/net-v46-md.md)] or a later version and that otherwise are available only in the .NET Framework on the Windows desktop.
151147
152-
The .NET Framework on the Windows desktop supports a large number of character encodings and code pages. You can get a complete list of encodings by calling the <xref:System.Text.Encoding.GetEncodings%2A?displayProperty=nameWithType> method, which is available in the full .NET Framework on the Windows desktop. .NET Native for UWP apps, on the other hand, supports only the following encodings by default:
148+
The .NET Framework on the Windows desktop supports a large number of character encodings and code pages. You can get a complete list of encodings by calling the <xref:System.Text.Encoding.GetEncodings%2A?displayProperty=nameWithType> method, which is available in the full .NET Framework on the Windows desktop. .NET Core, on the other hand, supports only the following encodings by default:
153149
154150
- ASCII (code page 20127), which is returned by the <xref:System.Text.Encoding.ASCII%2A?displayProperty=nameWithType> property.
155151
@@ -167,7 +163,7 @@
167163
168164
- UTF-32BE (code page 12001), which is instantiated by calling an <xref:System.Text.UTF32Encoding> constructor that has a `bigEndian` parameter and providing a value of `true` in the method call.
169165
170-
To retrieve an encoding that is present in the .NET Framework on the Windows desktop but not in UWP apps, you do the following:
166+
To retrieve an encoding that is present in the .NET Framework on the Windows desktop but not in .NET Core, you do the following:
171167
172168
- Add a reference to the System.Text.Encoding.CodePages.dll assembly to your project.
173169
@@ -182,4 +178,4 @@
182178
</Docs>
183179
</Member>
184180
</Members>
185-
</Type>
181+
</Type>

0 commit comments

Comments
 (0)