Mercurial > emacs
comparison src/coding.c @ 23475:6f03301d36a7
(decode_coding_iso2022): Set coding->fake_multibyte to
1 when encountered with a code of the range 0x80..0x9F.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Sat, 17 Oct 1998 01:58:01 +0000 |
| parents | 088cb2a804c7 |
| children | 7bad909cd6f1 |
comparison
equal
deleted
inserted
replaced
| 23474:242836a572c4 | 23475:6f03301d36a7 |
|---|---|
| 1093 result = CODING_FINISH_INCONSISTENT_EOL; | 1093 result = CODING_FINISH_INCONSISTENT_EOL; |
| 1094 goto label_end_of_loop_2; | 1094 goto label_end_of_loop_2; |
| 1095 } | 1095 } |
| 1096 *dst++ = c1; | 1096 *dst++ = c1; |
| 1097 coding->produced_char++; | 1097 coding->produced_char++; |
| 1098 if (c1 >= 0x80) | |
| 1099 coding->fake_multibyte = 1; | |
| 1098 break; | 1100 break; |
| 1099 | 1101 |
| 1100 case ISO_carriage_return: | 1102 case ISO_carriage_return: |
| 1101 if (coding->eol_type == CODING_EOL_CR) | 1103 if (coding->eol_type == CODING_EOL_CR) |
| 1102 *dst++ = '\n'; | 1104 *dst++ = '\n'; |
