Returns the encoding associated with the specified code page.

Namespace:  Rebex
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Shared Function GetEncoding ( _
	codepage As Integer _
) As Encoding
C#
public static Encoding GetEncoding(
	int codepage
)

Parameters

codepage
Type: System..::..Int32
Code page.

Return Value

Encoding.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also