diff options
| author | Kenichi Handa | 1999-06-08 00:26:51 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-06-08 00:26:51 +0000 |
| commit | d6bd663cc1203681951dc358c7ce04e4aca58653 (patch) | |
| tree | d049a09989b2caca9b41d7214224b703e5128cca /src/coding.c | |
| parent | 9429dee6ef78f0aff7a3b0047423558bd81c0d82 (diff) | |
| download | emacs-d6bd663cc1203681951dc358c7ce04e4aca58653.tar.gz emacs-d6bd663cc1203681951dc358c7ce04e4aca58653.zip | |
(ENCODE_SJIS_BIG5_CHARACTER): Encode charset
japanese-jisx0208-1978 correctly.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index ff684d567bc..832958de492 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -2166,7 +2166,8 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes) | |||
| 2166 | else \ | 2166 | else \ |
| 2167 | { \ | 2167 | { \ |
| 2168 | c1 &= 0x7F, c2 &= 0x7F; \ | 2168 | c1 &= 0x7F, c2 &= 0x7F; \ |
| 2169 | if (sjis_p && charset_alt == charset_jisx0208) \ | 2169 | if (sjis_p && (charset_alt == charset_jisx0208 \ |
| 2170 | || charset_alt == charset_jisx0208_1978))\ | ||
| 2170 | { \ | 2171 | { \ |
| 2171 | unsigned char s1, s2; \ | 2172 | unsigned char s1, s2; \ |
| 2172 | \ | 2173 | \ |