getEncoding
Contents
[
Hide
]getEncoding(codePage) (1 of 3)
Returns the encoding associated with the specified code page identifier.
| Parameter | Type | Description |
|---|---|---|
| codePage | int | The code page identifier of the preferred encoding. -or- 0, to use the default encoding. |
Returns: The Encoding object associated with the specified code page.
getEncoding(charsetName) (2 of 3)
Returns an encoding associated with the specified charset name.
| Parameter | Type | Description |
|---|---|---|
| charsetName | String | specified charset name |
Returns: The Encoding object associated with the specified charset name.
getEncoding(charset) (3 of 3)
Returns an encoding associated with the specified charset object.
| Parameter | Type | Description |
|---|---|---|
| charset | Charset | specified charset object |
Returns: The Encoding object associated with the specified charset object.