(decode_coding_iso2022): Translate invalid codes if
translation-table is specified.
This commit is contained in:
parent
0a926c02d7
commit
2d4430a8eb
1 changed files with 2 additions and 0 deletions
|
@ -2208,6 +2208,8 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
|
||||||
DECODE_COMPOSITION_END ('1');
|
DECODE_COMPOSITION_END ('1');
|
||||||
src = src_base;
|
src = src_base;
|
||||||
c = *src++;
|
c = *src++;
|
||||||
|
if (! NILP (translation_table))
|
||||||
|
c = translate_char (translation_table, c, 0, 0, 0);
|
||||||
EMIT_CHAR (c);
|
EMIT_CHAR (c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue