|
|
@ -213,8 +213,12 @@ apars_handle_plainchar(char c) |
|
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
fail: |
|
|
|
fail: |
|
|
|
hdump_bad((const char *) bytes, utf_j); |
|
|
|
if (termconf_live.ascii_debug) { |
|
|
|
ansi_warn("BAD UTF8!"); |
|
|
|
hdump_bad((const char *) bytes, utf_j); |
|
|
|
apars_show_context(); |
|
|
|
} else { |
|
|
|
|
|
|
|
screen_putchar("\xEF\xBF\xBD"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
//ansi_warn("BAD UTF8!");
|
|
|
|
|
|
|
|
//apars_show_context();
|
|
|
|
apars_reset_utf8buffer(); |
|
|
|
apars_reset_utf8buffer(); |
|
|
|
} |
|
|
|
} |
|
|
|