Terminal.encoding

Get encoding property.

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

Return Value

Type: 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