Mercurial > emacs
comparison src/coding.c @ 31457:b1c66af9aba5
(encode_coding_sjis_big5): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 07 Sep 2000 12:41:37 +0000 |
parents | 0b33b8c5d16e |
children | ec8a58b2ec83 |
comparison
equal
deleted
inserted
replaced
31456:1d3d2dcc62b4 | 31457:b1c66af9aba5 |
---|---|
2596 ENCODE_SJIS (c1, c2, c1, c2); | 2596 ENCODE_SJIS (c1, c2, c1, c2); |
2597 EMIT_TWO_BYTES (c1, c2); | 2597 EMIT_TWO_BYTES (c1, c2); |
2598 } | 2598 } |
2599 else if (charset == charset_katakana_jisx0201) | 2599 else if (charset == charset_katakana_jisx0201) |
2600 EMIT_ONE_BYTE (c1 | 0x80); | 2600 EMIT_ONE_BYTE (c1 | 0x80); |
2601 else if (charset == charset_latin_jisx0201) | |
2602 EMIT_ONE_BYTE (c1); | |
2601 else | 2603 else |
2602 /* There's no way other than producing the internal | 2604 /* There's no way other than producing the internal |
2603 codes as is. */ | 2605 codes as is. */ |
2604 EMIT_BYTES (src_base, src); | 2606 EMIT_BYTES (src_base, src); |
2605 } | 2607 } |