Pty.setUtf8

Tells the kernel whether the terminal is UTF-8 or not, in case it can make use of the info. Linux 2.6.5 or so defines IUTF8 to make the line discipline do multibyte backspace correctly.

class Pty
bool
setUtf8
(
bool utf8
)

Parameters

utf8 bool

whether or not the pty is in UTF-8 mode

Return Value

Type: bool

TRUE on success, FALSE on failure with error filled in

Throws

GException on failure.