From: Kenichi Handa Date: Sat, 22 Nov 2003 11:20:05 +0000 (+0000) Subject: (encode_coding_emacs_mule): Emit bytes with MSB. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1706 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1fa663f9b94279d2273fd235d60810dab5dc7d58;p=emacs.git (encode_coding_emacs_mule): Emit bytes with MSB. --- diff --git a/src/coding.c b/src/coding.c index f2bbc929382..c87f117fe1b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2125,9 +2125,10 @@ encode_coding_emacs_mule (coding) if (leading_codes[1]) EMIT_ONE_BYTE (leading_codes[1]); if (dimension == 1) - EMIT_ONE_BYTE (code); + EMIT_ONE_BYTE (code | 0x80); else { + code |= 0x8080; EMIT_ONE_BYTE (code >> 8); EMIT_ONE_BYTE (code & 0xFF); }