From: NARUSE, Yui Date: Fri, 11 Dec 2015 02:46:19 +0000 (+0900) Subject: reset bom flag on each checking call [nkf-bug#34797] X-Git-Tag: v2_1_4~1 X-Git-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=4de4db032f554e14239454483df128aeeb864f05;p=nkf%2Fnkf.git reset bom flag on each checking call [nkf-bug#34797] --- diff --git a/nkf.c b/nkf.c index ca3e438..2a3cb42 100644 --- a/nkf.c +++ b/nkf.c @@ -3575,6 +3575,7 @@ static void check_bom(FILE *f) { int c2; + input_bom_f = FALSE; switch(c2 = (*i_getc)(f)){ case 0x00: if((c2 = (*i_getc)(f)) == 0x00){