getEncodings

fnstring[] getEncodings(bool includeAliases)

Gets the list of supported legacy encodings.

If ICU support is not available, this returns an empty vector. Note that UTF-8 is always supported; you can select it by passing null to [vte.terminal.Terminal.setEncoding].

Parameters

includeAliaseswhether to include alias names

Returns

the list of supported encodings; free with

[glib.global.strfreev]