From a83c3e0ebd573c400e50340d2b85a94e5a0b204b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 17 Mar 2006 23:10:44 +0000 Subject: updated for version 7.0227 --- src/normal.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/normal.c') diff --git a/src/normal.c b/src/normal.c index aae515ca5..3a336d5e1 100644 --- a/src/normal.c +++ b/src/normal.c @@ -7880,9 +7880,13 @@ nv_g_cmd(cap) /* * "g8": Display the bytes used for the UTF-8 character under the * cursor. It is displayed in hex. + * "8g8" finds illegal byte sequence. */ case '8': - show_utf8(); + if (cap->count0 == 8) + utf_find_illegal(); + else + show_utf8(); break; #endif -- cgit v1.2.3