changeset 25860:1c730f145aa2

(DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR correctly.
author Kenichi Handa <handa@m17n.org>
date Mon, 04 Oct 1999 00:12:34 +0000
parents 1b8338fd30cd
children 2b7aca1bdda1
files src/coding.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)