Terminal.encoding

string encoding() @property

Get encoding property.

Returns

Controls the encoding the terminal will expect data from the child to

be encoded with. For certain terminal types, applications executing in the terminal can change the encoding. The default is defined by the application's locale settings.

Deprecated

Instead of using this, you should use a tool like

luit(1) when support for non-UTF-8 is required

void encoding(string propval) @property

Set encoding property.

Parameters

propvalControls the encoding the terminal will expect data from the child to be encoded with. For certain terminal types, applications executing in the terminal can change the encoding. The default is defined by the application's locale settings.

Deprecated

Instead of using this, you should use a tool like

luit(1) when support for non-UTF-8 is required