diff options
author | Kevin McCarthy <kevin@8t8.us> | 2020-04-26 10:43:24 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2022-11-15 19:36:35 -0800 |
commit | a60b22fe2a250f87769239b6120c2ff5de751b28 (patch) | |
tree | ca25ab8265ae1aa1457cd9cfa3caa0c7e74f8d75 | |
parent | 00093fd7f9d1aefc696e4a2a38ebeec432930039 (diff) |
Filter U+200C in pager.
"U+200C ZERO WIDTH NON-JOINER" is generating '?' on some systems.
-rw-r--r-- | pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1337,7 +1337,7 @@ static int format_line (struct line_t **lineInfo, int n, unsigned char *buf, if (Charset_is_utf8) { - if (wc == 0x200B || wc == 0xFEFF) + if (wc == 0x200B || wc == 0x200C || wc == 0xFEFF) { dprint (3, (debugfile, "skip zero-width character U+%04X\n", (unsigned short)wc)); continue; |