[vim/vim] Changing 'isprint' breaks drawing of unrelated Unicode characters (Issue #21053)

1 view
Skip to first unread message

Emilien Breton

unread,
Aug 14, 2026, 8:47:34 PM (2 days ago) Aug 14
to vim/vim, Subscribed
Bricktech2000 created an issue (vim/vim#21053)

Steps to reproduce

vim -u NONE -i NONE then insert U+222B INTEGRAL into the buffer (i<c-v>u222b<esc>). Now run :se isp+=^226 and the integral character turns into a less-than sign. :se isp& and the integral is back.

With a number other than 226 the integral looks fine. The UTF-8 encoding of U+222B is e2 88 ab, and 226 is decimal for hex e2. It's almost like one part of Vim only looks at the first UTF-8 byte and thinks the character is non-printable and tries to display <222b> while another part of Vim correctly considers it printable and only allots one cell for the character and truncates <222b> to <.

Version of Vim

9.1.1566

Environment

NixOS 25.05, 'encoding' is UTF-8


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/21053@github.com>

Reply all
Reply to author
Forward
0 new messages