From: Vincent Lefevre Date: Fri, 31 Mar 2017 15:29:35 +0000 (+0200) Subject: Filter other directional markers that corrupt the screen. X-Git-Tag: mutt-1-9-rel~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6d0c40161fb52b3d8415cb838f8bd768be97481;p=mutt Filter other directional markers that corrupt the screen. --- diff --git a/mbyte.c b/mbyte.c index 8d5d075c..0eedaa7c 100644 --- a/mbyte.c +++ b/mbyte.c @@ -531,6 +531,8 @@ int is_display_corrupting_utf8 (wchar_t wc) wc == (wchar_t)0x200e || wc == (wchar_t)0x00ad || /* soft hyphen: #3848 */ wc == (wchar_t)0xfeff || /* zero width no-break space */ + (wc >= (wchar_t)0x2066 && /* misc directional markers */ + wc <= (wchar_t)0x2069) || (wc >= (wchar_t)0x202a && /* misc directional markers: #3854 */ wc <= (wchar_t)0x202e)) return 1;