[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.h
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.h |
Date: |
Wed, 28 May 2003 07:36:19 -0400 |
Index: emacs/src/coding.h
diff -c emacs/src/coding.h:1.65 emacs/src/coding.h:1.66
*** emacs/src/coding.h:1.65 Tue Dec 17 06:39:34 2002
--- emacs/src/coding.h Thu May 22 01:52:15 2003
***************
*** 144,151 ****
#define CODING_FLAG_ISO_DESIGNATION 0x10000
/* 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 /* 077 == `?' */
/* Structure of the field `spec.iso2022' in the structure `coding_system'. */
struct iso2022_spec
--- 144,152 ----
#define CODING_FLAG_ISO_DESIGNATION 0x10000
/* A character to be produced on output if encoding of the original
! character is inhibitted by CODING_MODE_INHIBIT_UNENCODABLE_CHAR.
! It must be an ASCII character. */
! #define CODING_REPLACEMENT_CHARACTER '?'
/* Structure of the field `spec.iso2022' in the structure `coding_system'. */
struct iso2022_spec
***************
*** 337,345 ****
enables selective display. */
#define CODING_MODE_SELECTIVE_DISPLAY 0x04
/* This flag is used by the decoding/encoding routines on the fly. If
set, it means that right-to-left text is being processed. */
! #define CODING_MODE_DIRECTION 0x08
struct coding_system
{
--- 338,349 ----
enables selective display. */
#define CODING_MODE_SELECTIVE_DISPLAY 0x04
+ /* If set, replace unencodabae characters by `?' on encoding. */
+ #define CODING_MODE_INHIBIT_UNENCODABLE_CHAR 0x08
+
/* This flag is used by the decoding/encoding routines on the fly. If
set, it means that right-to-left text is being processed. */
! #define CODING_MODE_DIRECTION 0x10
struct coding_system
{