f6bd29a
diff --git a/PROTOCOL b/PROTOCOL
f6bd29a
index 131adfe..c828087 100644
f6bd29a
--- a/PROTOCOL
f6bd29a
+++ b/PROTOCOL
f6bd29a
@@ -328,6 +328,11 @@ a server may offer multiple keys of the same type for a period (to
f6bd29a
 give clients an opportunity to learn them using this extension) before
f6bd29a
 removing the deprecated key from those offered.
f6bd29a
 
f6bd29a
+2.6. connection: add IUTF8 terminal mode flag
f6bd29a
+
f6bd29a
+OpenSSH supports the IUTF8 terminal mode flag and encodes it in "pty-req"
f6bd29a
+messages as opcode value 42.
f6bd29a
+
f6bd29a
 3. SFTP protocol changes
f6bd29a
 
f6bd29a
 3.1. sftp: Reversal of arguments to SSH_FXP_SYMLINK
f6bd29a
diff --git a/ttymodes.h b/ttymodes.h
f6bd29a
index 4d848fe..396ae88 100644
f6bd29a
--- a/ttymodes.h
f6bd29a
+++ b/ttymodes.h
f6bd29a
@@ -127,6 +127,9 @@ TTYMODE(IXOFF,	c_iflag, 40)
f6bd29a
 #ifdef IMAXBEL
f6bd29a
 TTYMODE(IMAXBEL,c_iflag, 41)
f6bd29a
 #endif /* IMAXBEL */
f6bd29a
+#ifdef IUTF8
f6bd29a
+TTYMODE(IUTF8,	c_iflag, 42)
f6bd29a
+#endif /* IUTF8 */
f6bd29a
 
f6bd29a
 TTYMODE(ISIG,	c_lflag, 50)
f6bd29a
 TTYMODE(ICANON,	c_lflag, 51)
f6bd29a