From: SATOH Fumiyasu Date: Fri, 25 Oct 2013 08:28:03 +0000 (+0900) Subject: Fix ESC + multibyte char decode in Shift_JIS input X-Git-Tag: v2_1_3~1^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c25eef6a0cb282348fe697fa2881c79efc328e15;hp=4d92f71eb89afd80dd7651b9a32ea7da64e23cd7;p=nkf%2Fnkf.git Fix ESC + multibyte char decode in Shift_JIS input --- diff --git a/nkf.c b/nkf.c index 705fb55..fd593d9 100644 --- a/nkf.c +++ b/nkf.c @@ -6189,9 +6189,10 @@ kanji_convert(FILE *f) } } else { + i_ungetc(c1,f); /* lonely ESC */ (*oconv)(0, ESC); - SEND; + SKIP; } } else if (c1 == LF || c1 == CR) { if (broken_f&4) {