changeset 24822:0439ca273f70

(ENCODE_SJIS_BIG5_CHARACTER): Encode charset japanese-jisx0208-1978 correctly.
author Kenichi Handa <handa@m17n.org>
date Tue, 08 Jun 1999 00:26:51 +0000
parents 7f6aadd2625b
children 7bf461aabf49
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Mon Jun 07 11:02:33 1999 +0000
+++ b/src/coding.c	Tue Jun 08 00:26:51 1999 +0000
@@ -2166,7 +2166,8 @@
     else							\
       {								\
 	c1 &= 0x7F, c2 &= 0x7F;					\
-	if (sjis_p && charset_alt == charset_jisx0208)		\
+	if (sjis_p && (charset_alt == charset_jisx0208		\
+		       || charset_alt == charset_jisx0208_1978))\
 	  {							\
 	    unsigned char s1, s2;				\
 	    							\