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
int
setUtf8
(
int utf8
)

Parameters

utf8 int

whether or not the pty is in UTF-8 mode

Return Value

Type: int

TRUE on success, FALSE on failure with error filled in Since 0.26

Throws

GException on failure.

Meta