]> git.eshelyaron.com Git - emacs.git/commitdiff
(ENCODE_SJIS_BIG5_CHARACTER): Encode charset
authorKenichi Handa <handa@m17n.org>
Tue, 8 Jun 1999 00:26:51 +0000 (00:26 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 8 Jun 1999 00:26:51 +0000 (00:26 +0000)
japanese-jisx0208-1978 correctly.

src/coding.c

index ff684d567bc60c0a852438a86418d1b91c07c3a6..832958de49296bfe55debce2f89cc6ad2e67cd10 100644 (file)
@@ -2166,7 +2166,8 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
     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;                               \
                                                                \