Encoding

Encoding class

Represents a character encoding.

Methods

NameDescription
getASCIIGets an encoding for the ASCII (7-bit) character set.
getUTF7Gets an encoding for the UTF-7 format.
getUTF8Gets an encoding for the UTF-8 format.
getUTF8NoBOMGets an encoding for the UTF-8 format without the UTF-8 identifier.
getUnicodeGets an encoding for the UTF-16 format using the little endian byte order.
getBigEndianUnicodeGets an encoding for the UTF-16 format using the big endian byte order.
getDefaultGets an encoding for the operating system’s current ANSI code page.
getEncodingReturns the encoding associated with the specified code page identifier.
equalsDetermines whether the specified Object is equal to the current instance.