Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

EncodingTools.GetEncoding Method

Namespace: Rebex
Assembly: Rebex.Common.dll (version 7.0.9147)

GetEncoding(String)

Returns the encoding associated with the specified code page name.

Declaration
public static Encoding GetEncoding(string name)
Parameters
Type Name Description
String name

Code page name.

Returns
Type Description
Encoding

Encoding.

GetEncoding(Int32)

Returns the encoding associated with the specified code page.

Declaration
public static Encoding GetEncoding(int codepage)
Parameters
Type Name Description
Int32 codepage

Code page.

Returns
Type Description
Encoding

Encoding.

In This Article
  • GetEncoding(String)
  • GetEncoding(Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies