mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
(DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR
correctly.
This commit is contained in:
parent
362bc2da50
commit
251aeb2451
1 changed files with 3 additions and 3 deletions
|
|
@ -224,10 +224,10 @@ encode_coding_XXX (coding, source, destination, src_bytes, dst_bytes)
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
*dst++ = (c); \
|
/* If ASCII charset is invoked to GR, \
|
||||||
|
we must reset MSB now. */ \
|
||||||
|
*dst++ = (c) & 0x7F; \
|
||||||
coding->produced_char++; \
|
coding->produced_char++; \
|
||||||
if ((c) >= 0x80) \
|
|
||||||
coding->fake_multibyte = 1; \
|
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue