From: Kenichi Handa Date: Mon, 4 Oct 1999 00:12:34 +0000 (+0000) Subject: (DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR X-Git-Tag: emacs-pretest-21.0.90~6582 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=251aeb2451597b9aed066c248a551234d399357c;p=emacs.git (DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR correctly. --- diff --git a/src/coding.c b/src/coding.c index 534a5f75d23..5a4a4c8c9a6 100644 --- a/src/coding.c +++ b/src/coding.c @@ -224,10 +224,10 @@ encode_coding_XXX (coding, source, destination, src_bytes, dst_bytes) } \ else \ { \ - *dst++ = (c); \ + /* If ASCII charset is invoked to GR, \ + we must reset MSB now. */ \ + *dst++ = (c) & 0x7F; \ coding->produced_char++; \ - if ((c) >= 0x80) \ - coding->fake_multibyte = 1; \ } \ } while (0)