Download: Stable · Snapshot | Docs | Changes | Wishlist
The OSC escape sequence family, e.g. used to set the window title,
includes a string of arbitrary text terminated by (among other things)
the control sequence ST (String Terminator). ST comes in multiple
forms: one form is
ESC \, and another is the C1 control
In UTF-8 mode, the C1 control character 0x9C should be interpreted as the Unicode code point U+009C, encoded in UTF-8 as the bytes 0xC2 0x9C.
However, in PuTTY 0.76 and before, the byte 0x9C had the effect of terminating the OSC sequence, whenever it appeared as a continuation byte in any UTF-8 character encoding. So, for example, sending U+00DC LATIN CAPITAL LETTER U WITH DIAERESIS (Ü) in the middle of a window title would cause the OSC sequence to be prematurely terminated, simply because 0x9C is one of the bytes of that character's UTF-8 encoding. The rest of the text intended for the window title would be processed as normal terminal output, corrupting your display.