getEncodingSupported

Queries whether the legacy encoding encoding is supported.

If ICU support is not available, this function always returns false.

Note that UTF-8 is always supported; you can select it by passing null to vte.terminal.Terminal.setEncoding.

bool
getEncodingSupported
(
string encoding
)

Parameters

encoding string

the name of the legacy encoding

Return Value

Type: bool

true iff the legacy encoding encoding is supported