diff --git a/src/editor/edit.c b/src/editor/edit.c
index eaab3c4..6899171 100644
a
|
b
|
edit_execute_cmd (WEdit * edit, long command, int char_for_insertion) |
3356 | 3356 | if (option_cursor_beyond_eol && edit->over_col > 0) |
3357 | 3357 | edit_insert_over (edit); |
3358 | 3358 | #ifdef HAVE_CHARSET |
3359 | | if (char_for_insertion > 255 && !mc_global.utf8_display) |
| 3359 | if (char_for_insertion > 127 && str_isutf8 (get_codepage_id (mc_global.source_codepage)) |
| 3360 | && !mc_global.utf8_display) |
3360 | 3361 | { |
3361 | 3362 | unsigned char str[UTF8_CHAR_LEN + 1]; |
3362 | 3363 | size_t i = 0; |