# HG changeset patch # User Kenichi Handa # Date 938995954 0 # Node ID 1c730f145aa26834a4352aef0778b53d376baa63 # Parent 1b8338fd30cd8582aff279801807605a5854b915 (DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR correctly. diff -r 1b8338fd30cd -r 1c730f145aa2 src/coding.c --- a/src/coding.c Sun Oct 03 20:46:34 1999 +0000 +++ b/src/coding.c Mon Oct 04 00:12:34 1999 +0000 @@ -224,10 +224,10 @@ } \ 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)