OSDN Git Service
(root)
/
nkf
/
nkf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix ESC + multibyte char decode in Shift_JIS input
[nkf/nkf.git]
/
nkf.c
diff --git
a/nkf.c
b/nkf.c
index
705fb55
..
fd593d9
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-6189,9
+6189,10
@@
kanji_convert(FILE *f)
}
}
else {
+ i_ungetc(c1,f);
/* lonely ESC */
(*oconv)(0, ESC);
- S
END
;
+ S
KIP
;
}
} else if (c1 == LF || c1 == CR) {
if (broken_f&4) {