]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding' v9.0.1598
authorzeertzjq <zeertzjq@outlook.com>
Thu, 1 Jun 2023 19:26:55 +0000 (20:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 1 Jun 2023 19:26:55 +0000 (20:26 +0100)
commit47eec6716b8621fd43bac8ecc9c19089df26705e
tree8f929992e3e732a51f3e5ad89d99c260a8da4300
parent8509014adda188ee8bdf6a2e123fbf15a91b29d2
patch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding'

Problem:    screenchar(), screenchars() and screenstring() do not work
            properly when 'encoding' is set to a double-byte encoding.
Solution:   Fix the way the bytes of the characters are obtained.
            (issue #12469)
src/evalfunc.c
src/screen.c
src/testdir/test_functions.vim
src/testdir/test_utf8.vim
src/version.c