From fc6f32f9ee409bf755b420263eb698e8e5d6ccca Mon Sep 17 00:00:00 2001 From: Chris Webb Date: Tue, 9 May 2023 22:56:55 +0200 Subject: Stop _ from tearing multibyte UTF-8 sequences Fixes #4887 [ja: add test] --- test/regression/4887-torn-utf8-sequence/cmd | 1 + test/regression/4887-torn-utf8-sequence/in | 0 test/regression/4887-torn-utf8-sequence/out | 1 + 3 files changed, 2 insertions(+) create mode 100644 test/regression/4887-torn-utf8-sequence/cmd create mode 100644 test/regression/4887-torn-utf8-sequence/in create mode 100644 test/regression/4887-torn-utf8-sequence/out (limited to 'test') diff --git a/test/regression/4887-torn-utf8-sequence/cmd b/test/regression/4887-torn-utf8-sequence/cmd new file mode 100644 index 00000000..8a70e75f --- /dev/null +++ b/test/regression/4887-torn-utf8-sequence/cmd @@ -0,0 +1 @@ +:exec %{esc>x_iabesc>} diff --git a/test/regression/4887-torn-utf8-sequence/in b/test/regression/4887-torn-utf8-sequence/in new file mode 100644 index 00000000..e69de29b diff --git a/test/regression/4887-torn-utf8-sequence/out b/test/regression/4887-torn-utf8-sequence/out new file mode 100644 index 00000000..155dd4fa --- /dev/null +++ b/test/regression/4887-torn-utf8-sequence/out @@ -0,0 +1 @@ +abç -- cgit v1.2.3