Commit 7ff11a97 authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

don't recognize 8-bit SS2 and SS3 by default, it breaks UTF-8 and other

* src/iso2022.c(_vte_iso2022_find_nextctl): don't recognize 8-bit SS2 and SS3
	by default, it breaks UTF-8 and other encodings (#112879).
parent e1e0f0a3
2003-05-13 nalin
* src/iso2022.c(_vte_iso2022_find_nextctl): don't recognize 8-bit
SS2 and SS3 by default, it breaks UTF-8 and other encodings (#112879).
2003-05-13 nalin
* src/vtedraw.c, src/vtedraw.h: add _vte_draw_needs_repaint() to
indicate if the drawing back-end can only handle entire-window paints.
......
......@@ -814,8 +814,11 @@ _vte_iso2022_find_nextctl(const char *p, size_t length)
ret = _vte_iso2022_better(ret, memchr(p, '\r', length));
ret = _vte_iso2022_better(ret, memchr(p, '\016', length));
ret = _vte_iso2022_better(ret, memchr(p, '\017', length));
#ifdef VTE_ISO2022_8_BIT_CONTROLS
/* This breaks UTF-8 and other encodings which use the high bits. */
ret = _vte_iso2022_better(ret, memchr(p, 0x8e, length));
ret = _vte_iso2022_better(ret, memchr(p, 0x8f, length));
#endif
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment