144 |
#define CODING_FLAG_ISO_DESIGNATION 0x10000 |
#define CODING_FLAG_ISO_DESIGNATION 0x10000 |
145 |
|
|
146 |
/* A character to be produced on output if encoding of the original |
/* A character to be produced on output if encoding of the original |
147 |
character is prohibited by CODING_FLAG_ISO_SAFE. */ |
character is inhibitted by CODING_MODE_INHIBIT_UNENCODABLE_CHAR. |
148 |
#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* 077 == `?' */ |
It must be an ASCII character. */ |
149 |
|
#define CODING_REPLACEMENT_CHARACTER '?' |
150 |
|
|
151 |
/* Structure of the field `spec.iso2022' in the structure `coding_system'. */ |
/* Structure of the field `spec.iso2022' in the structure `coding_system'. */ |
152 |
struct iso2022_spec |
struct iso2022_spec |
338 |
enables selective display. */ |
enables selective display. */ |
339 |
#define CODING_MODE_SELECTIVE_DISPLAY 0x04 |
#define CODING_MODE_SELECTIVE_DISPLAY 0x04 |
340 |
|
|
341 |
|
/* If set, replace unencodabae characters by `?' on encoding. */ |
342 |
|
#define CODING_MODE_INHIBIT_UNENCODABLE_CHAR 0x08 |
343 |
|
|
344 |
/* This flag is used by the decoding/encoding routines on the fly. If |
/* This flag is used by the decoding/encoding routines on the fly. If |
345 |
set, it means that right-to-left text is being processed. */ |
set, it means that right-to-left text is being processed. */ |
346 |
#define CODING_MODE_DIRECTION 0x08 |
#define CODING_MODE_DIRECTION 0x10 |
347 |
|
|
348 |
struct coding_system |
struct coding_system |
349 |
{ |
{ |