diff options
author | Kenichi Handa <handa@m17n.org> | 1997-08-16 01:54:37 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-08-16 01:54:37 +0000 |
commit | 70b1f21f99ce59be1d2dc11d845974b2874d6060 (patch) | |
tree | 757b9730175bcfbee95a0c3dbf468dcf8394b52a /src | |
parent | c019d44a50ec99da9de852fb52edc3f8b1395add (diff) | |
download | emacs-70b1f21f99ce59be1d2dc11d845974b2874d6060.tar.gz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/coding.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h index ec25b1d0366..6aa9a45e714 100644 --- a/src/coding.h +++ b/src/coding.h @@ -138,9 +138,13 @@ enum iso_code_class_type /* If set, do not encode unexpected charactes on output. */ #define CODING_FLAG_ISO_SAFE 0x0800 +/* If set, extra latin codes (128..159) are accepted as a valid code + on input. */ +#define CODING_FLAG_ISO_LATIN_EXTRA 0x1000 + /* A character to be produced on output if encoding of the original character is prohibited by CODING_FLAG_ISO_SAFE. */ -#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* `?' */ +#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* 077 == `?' */ /* Structure of the field `spec.iso2022' in the structure `coding_system'. */ struct iso2022_spec |