From 174a4cbee140d8c1bea7993c031a64d95b8c37ff Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 17 Oct 1998 01:58:01 +0000 Subject: [PATCH] (decode_coding_iso2022): Set coding->fake_multibyte to 1 when encountered with a code of the range 0x80..0x9F. --- src/coding.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coding.c b/src/coding.c index d32a35f31fb..c9bb4f92344 100644 --- a/src/coding.c +++ b/src/coding.c @@ -1095,6 +1095,8 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes) } *dst++ = c1; coding->produced_char++; + if (c1 >= 0x80) + coding->fake_multibyte = 1; break; case ISO_carriage_return: -- 2.39.2