EncodingStatic

EncodingStatic


Provides static methods used to retrieve existing encodings and convert between encodings.


Remarks

This class cannot be directly instantiated. To access the methods, use the variable name directly.

 Dim en As Encoding
 Set en = Encoding.UTF8
 

See Also

Project VBCorLib Overview | Encoding

Public:

Properties:

NameDescription
 ASCII (get)Returns a shared ASCIIEncoding object. 
 BigEndianUnicode (get)Returns a UnicodeEncoding object that encodes using BigEndian byte ordering. 
 Default (get)Returns the default ANSI Encoding for the system. 
 Unicode (get)Returns a UnicodeEncoding object that encodes using LittleEndian byte ordering. 
 UTF7 (get)Returns a shared UTF7Encoding object. 
 UTF8 (get)Returns a shared UTF8Encoding object. 

Methods:

NameDescription
 ConvertConverts a set of bytes from one encoding to another encoding. 
 GetEncodingReturns an encoding for a specified codepage. 
 GetEncodingsReturns a list of minimal information about each encoding.