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:
| Name | Description |
|---|
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:
| Name | Description |
|---|
Convert |
Converts a set of bytes from one encoding to another encoding.
|
GetEncoding |
Returns an encoding for a specified codepage.
|
GetEncodings |
Returns a list of minimal information about each encoding.
|