Commit 497ee4fb authored by Kenichi Handa's avatar Kenichi Handa

(ENCODE_SJIS_BIG5_CHARACTER): Encode charset

latin-jisx0201 correctly.
parent b972bd85
......@@ -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; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment