Commit 2d4430a8 authored by Kenichi Handa's avatar Kenichi Handa

(decode_coding_iso2022): Translate invalid codes if

translation-table is specified.
parent 0a926c02
......@@ -2208,6 +2208,8 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
DECODE_COMPOSITION_END ('1');
src = src_base;
c = *src++;
if (! NILP (translation_table))
c = translate_char (translation_table, c, 0, 0, 0);
EMIT_CHAR (c);
}
......
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