aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa1999-06-02 23:44:53 +0000
committerKenichi Handa1999-06-02 23:44:53 +0000
commit497ee4fb448d9fc541d6247be3455527d7079144 (patch)
tree1876e844ab5857f64c0673691f7b66625baf7971 /src/coding.c
parentb972bd85cf65561e782c1fa26cf2fe4ced833a0f (diff)
downloademacs-497ee4fb448d9fc541d6247be3455527d7079144.tar.gz
emacs-497ee4fb448d9fc541d6247be3455527d7079144.zip
(ENCODE_SJIS_BIG5_CHARACTER): Encode charset
latin-jisx0201 correctly.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 1e2e2406ab7..ff684d567bc 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -2155,6 +2155,8 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
2155 { \ 2155 { \
2156 if (sjis_p && charset_alt == charset_katakana_jisx0201) \ 2156 if (sjis_p && charset_alt == charset_katakana_jisx0201) \
2157 *dst++ = c1; \ 2157 *dst++ = c1; \
2158 else if (sjis_p && charset_alt == charset_latin_jisx0201) \
2159 *dst++ = c1 & 0x7F; \
2158 else \ 2160 else \
2159 { \ 2161 { \
2160 *dst++ = charset_alt, *dst++ = c1; \ 2162 *dst++ = charset_alt, *dst++ = c1; \