Commit 251aeb24 authored by Kenichi Handa's avatar Kenichi Handa

(DECODE_CHARACTER_ASCII): Decode ASCII invocated to GR

correctly.
parent 362bc2da
......@@ -224,10 +224,10 @@ encode_coding_XXX (coding, source, destination, src_bytes, dst_bytes)
} \
else \
{ \
*dst++ = (c); \
/* If ASCII charset is invoked to GR, \
we must reset MSB now. */ \
*dst++ = (c) & 0x7F; \
coding->produced_char++; \
if ((c) >= 0x80) \
coding->fake_multibyte = 1; \
} \
} while (0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment