We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38cbe97 commit b9c5997Copy full SHA for b9c5997
doc.cpp
@@ -1914,6 +1914,12 @@ CString strLine (lpszText, size);
1914
1915
c = *p;
1916
1917
+ // bail out of UTF-8 collection if a non-high order bit is found in the incoming stream
1918
+ if (!(flags & NOTE_OR_COMMAND) &&
1919
+ m_phase == HAVE_UTF8_CHARACTER &&
1920
+ (c & 0x80) == 0)
1921
+ OutputBadUTF8characters ();
1922
+
1923
// note that CR, LF, ESC and IAC can appear inside telnet negotiation now (version 4.48)
1924
if (m_phase != HAVE_SB &&
1925
m_phase != HAVE_SUBNEGOTIATION &&
0 commit comments