comparison src/file-coding.c @ 422:95016f13131a r21-2-19

Import from CVS: tag r21-2-19
author cvs
date Mon, 13 Aug 2007 11:25:01 +0200
parents 41dbb7a9d5f2
children 11054d720c21
comparison
equal deleted inserted replaced
421:fff06e11db74 422:95016f13131a
2151 break; 2151 break;
2152 case CODESYS_UTF8: 2152 case CODESYS_UTF8:
2153 decode_coding_utf8 (decoding, src, dst, n); 2153 decode_coding_utf8 (decoding, src, dst, n);
2154 break; 2154 break;
2155 case CODESYS_CCL: 2155 case CODESYS_CCL:
2156 str->ccl.last_block = str->flags & CODING_STATE_END;
2156 ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_DECODING); 2157 ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_DECODING);
2157 break; 2158 break;
2158 case CODESYS_ISO2022: 2159 case CODESYS_ISO2022:
2159 decode_coding_iso2022 (decoding, src, dst, n); 2160 decode_coding_iso2022 (decoding, src, dst, n);
2160 break; 2161 break;
2563 break; 2564 break;
2564 case CODESYS_UTF8: 2565 case CODESYS_UTF8:
2565 encode_coding_utf8 (encoding, src, dst, n); 2566 encode_coding_utf8 (encoding, src, dst, n);
2566 break; 2567 break;
2567 case CODESYS_CCL: 2568 case CODESYS_CCL:
2569 str->ccl.last_block = str->flags & CODING_STATE_END;
2568 ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_ENCODING); 2570 ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_ENCODING);
2569 break; 2571 break;
2570 case CODESYS_ISO2022: 2572 case CODESYS_ISO2022:
2571 encode_coding_iso2022 (encoding, src, dst, n); 2573 encode_coding_iso2022 (encoding, src, dst, n);
2572 break; 2574 break;