getEncodingSupported
fn
bool getEncodingSupported(string encoding)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].
Parameters
encoding | the name of the legacy encoding |
Returns
true iff the legacy encoding encoding is supported