1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00

(ENCODE_SJIS_BIG5_CHARACTER): Encode charset

japanese-jisx0208-1978 correctly.
This commit is contained in:
Kenichi Handa 1999-06-08 00:26:51 +00:00
parent 9429dee6ef
commit d6bd663cc1

View 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; \
\