name
name: (Charset) -> stringThe canonical name (UTF-8).
Charset.forName(…)
Charset.defaultCharset()
StandardCharsets.US_ASCII| Method | Returns | Description |
|---|---|---|
name() | string | The canonical name (UTF-8). |
displayName() | string | The canonical name. |
toString() | string | The canonical name. |
equals(any) | boolean | Whether ob is the same charset. |
forName(string) | Charset | The charset charsetName names (common aliases accepted); one this has not is UnsupportedCharsetException. |
defaultCharset() | Charset | UTF-8, the default charset Bento's text is in. |
| Method | Returns | Description |
|---|---|---|
CharsetClass.defaultCharset | Charset | UTF-8, the default charset Bento's text is in. |
CharsetClass.forName | Charset | The charset charsetName names (common aliases accepted); one this has not is UnsupportedCharsetException. |
namename: (Charset) -> stringThe canonical name (UTF-8).
displayNamedisplayName: (Charset) -> stringThe canonical name.
toStringtoString: (Charset) -> stringThe canonical name.
equalsequals: (Charset, any) -> booleanWhether ob is the same charset.
forNameforName: (string) -> CharsetThe charset charsetName names (common aliases accepted); one this has not is UnsupportedCharsetException.
defaultCharsetdefaultCharset: () -> CharsetUTF-8, the default charset Bento's text is in.