comparison src/coding.h @ 19364:7182edce9028

(Vmicrosoft_code_table): This variable deleted. (Vlatin_extra_code_table): New variable. (detect_coding_iso2022): Pay attention to Vlatin_extra_code_table. (detect_coding_mask): Likewise. (setup_coding_system): Handle a new FLAGS element ACCEPT-LATIN-EXTRA-CODE. (syms_of_coding): Delete code for Vmicrosoft_code_table. Declare latin-extra-code-table as a Lisp variable, and initialize it.
author Kenichi Handa <handa@m17n.org>
date Sat, 16 Aug 1997 01:54:37 +0000
parents dd1d7096f59d
children 79c3bdba351b
comparison
equal deleted inserted replaced
19363:166c69d75f01 19364:7182edce9028
136 #define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400 136 #define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400
137 137
138 /* If set, do not encode unexpected charactes on output. */ 138 /* If set, do not encode unexpected charactes on output. */
139 #define CODING_FLAG_ISO_SAFE 0x0800 139 #define CODING_FLAG_ISO_SAFE 0x0800
140 140
141 /* If set, extra latin codes (128..159) are accepted as a valid code
142 on input. */
143 #define CODING_FLAG_ISO_LATIN_EXTRA 0x1000
144
141 /* A character to be produced on output if encoding of the original 145 /* A character to be produced on output if encoding of the original
142 character is prohibited by CODING_FLAG_ISO_SAFE. */ 146 character is prohibited by CODING_FLAG_ISO_SAFE. */
143 #define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* `?' */ 147 #define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* 077 == `?' */
144 148
145 /* Structure of the field `spec.iso2022' in the structure `coding_system'. */ 149 /* Structure of the field `spec.iso2022' in the structure `coding_system'. */
146 struct iso2022_spec 150 struct iso2022_spec
147 { 151 {
148 /* The current graphic register invoked to each graphic plane. */ 152 /* The current graphic register invoked to each graphic plane. */