[vim/vim] 'isprint' is applied to the leading byte of a character (PR #21055)

1 view
Skip to first unread message

h_east

unread,
Aug 15, 2026, 1:08:48 AM (yesterday) Aug 15
to vim/vim, Subscribed
Problem:  Excluding a value with 'isprint' also breaks the display of
          unrelated characters whose leading byte has that value.  After
          ":set isprint+=^226" the character U+222B is displayed as "<".
Solution: Apply 'isprint' to the character value only, not to the leading
          byte of its UTF-8 encoding.

fixes: #21053


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21055

Commit Summary

  • a743897 'isprint' is applied to the leading byte of a character

File Changes

(2 files)

Patch Links:


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/pull/21055@github.com>

Reply all
Reply to author
Forward
0 new messages