diff --git a/src/stty.c b/src/stty.c index 078f5e74..f96c0d71 100644 --- a/src/stty.c +++ b/src/stty.c @@ -113,7 +113,7 @@ void stty(int fd, speed_t speed) /* Timeouts, minimum chars and default flags */ term.c_cc[VTIME] = 0; term.c_cc[VMIN] = 1; - term.c_iflag = ICRNL|IXON|IXOFF; + term.c_iflag = ICRNL|IXON|IXOFF|IUTF8; term.c_oflag = OPOST|ONLCR; term.c_lflag |= ICANON|ISIG|ECHO|ECHOE|ECHOK|ECHOKE;