updated for version 7.0227
diff --git a/src/normal.c b/src/normal.c
index aae515c..3a336d5 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -7880,9 +7880,13 @@
     /*
      * "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