Method Summary | ||
---|---|---|
function | equals(other) | |
Determines whether the specified Encoding object is equal to the current instance.
|
||
function | equals(o) | |
Determines whether the specified Object is equal to the current instance.
|
||
static function | getASCII() | |
Gets an encoding for the ASCII (7-bit) character set.
|
||
static function | getBigEndianUnicode() | |
Gets an encoding for the UTF-16 format using the big endian byte order.
|
||
static function | getDefault() | |
Gets an encoding for the operating system's current ANSI code page.
|
||
static function | getEncoding(codePage) | |
Returns the encoding associated with the specified code page identifier.
|
||
static function | getEncoding(charsetName) | |
Returns an encoding associated with the specified charset name.
|
||
static function | getEncoding(charset) | |
Returns an encoding associated with the specified charset object.
|
||
static function | getUnicode() | |
Gets an encoding for the UTF-16 format using the little endian byte order.
|
||
static function | getUTF7() | |
Gets an encoding for the UTF-7 format.
|
||
static function | getUTF8() | |
Gets an encoding for the UTF-8 format.
|
||
static function | getUTF8NoBOM() | |
Gets an encoding for the UTF-8 format without the UTF-8 identifier.
|
static function getASCII()
static function getUTF7()
static function getUTF8()
static function getUTF8NoBOM()
static function getUnicode()
static function getBigEndianUnicode()
static function getDefault()
static function getEncoding(codePage)
codePage: Number
- The code page identifier of the preferred encoding. -or- 0, to use the default encoding.static function getEncoding(charsetName)
charsetName: String
- specified charset namestatic function getEncoding(charset)
charset: Charset
- specified charset objectfunction equals(o)
o: Object
- The Object to compare with the current instance.function equals(other)
other: Encoding
- The Encoding object to compare with the current instance.