Pty.setUtf8

bool setUtf8(bool utf8)

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.

Parameters

utf8whether or not the pty is in UTF-8 mode

Returns

true on success, false on failure with error filled in

Throws

[ErrorWrap]