changeset 24804:17c2ea98478f

(ENCODE_SJIS_BIG5_CHARACTER): Encode charset latin-jisx0201 correctly.
author Kenichi Handa <handa@m17n.org>
date Wed, 02 Jun 1999 23:44:53 +0000
parents dda011c49b05
children eb5e287ff675
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Wed Jun 02 02:18:27 1999 +0000
+++ b/src/coding.c	Wed Jun 02 23:44:53 1999 +0000
@@ -2155,6 +2155,8 @@
       {								\
 	if (sjis_p && charset_alt == charset_katakana_jisx0201)	\
 	  *dst++ = c1;						\
+	else if (sjis_p && charset_alt == charset_latin_jisx0201) \
+	  *dst++ = c1 & 0x7F;					\
 	else							\
 	  {							\
 	    *dst++ = charset_alt, *dst++ = c1;			\