]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_coding_iso2022): Set coding->fake_multibyte to
authorKenichi Handa <handa@m17n.org>
Sat, 17 Oct 1998 01:58:01 +0000 (01:58 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 17 Oct 1998 01:58:01 +0000 (01:58 +0000)
1 when encountered with a code of the range 0x80..0x9F.

src/coding.c

index d32a35f31fbb9451f4935f9ed448d8bc171d513a..c9bb4f92344fe5bdd31c150ca8d779466597d466 100644 (file)
@@ -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: