--- edit/edit.c +++ edit/edit.c @@ -1808,6 +1808,8 @@ c = '0'; else if (iswspace (c)) c = ' '; + else if (c > 0xff) + return 0xFFFFFFFFUL; #endif /* UTF8 */ q = strchr (option_chars_move_whole_word, c); if (!q)