1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-09 15:50:21 +00:00

(ENCODE_SJIS_BIG5_CHARACTER): Encode charset

latin-jisx0201 correctly.
This commit is contained in:
Kenichi Handa 1999-06-02 23:44:53 +00:00
parent b972bd85cf
commit 497ee4fb44

View File

@ -2155,6 +2155,8 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
{ \
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; \