Terminal.encoding

Set encoding property.

More...
  1. string encoding [@property getter]
  2. string encoding [@property setter]
    class Terminal
    @property
    void
    encoding
    (
    string propval
    )

Parameters

propval string

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.

Detailed Description

Deprecated: Instead of using this, you should use a tool like luit(1) when support for non-UTF-8 is required