aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-05-25 11:00:21 +0000
committerEli Zaretskii2000-05-25 11:00:21 +0000
commit0d35b92b134990cf6df9612a2fe153602b13f238 (patch)
treeafdca349dcf47d203df7989dd1b18544eae1454b
parent1eed3a764fa85a2012d457d3603f6bf2b8c94bf1 (diff)
downloademacs-0d35b92b134990cf6df9612a2fe153602b13f238.tar.gz
emacs-0d35b92b134990cf6df9612a2fe153602b13f238.zip
(cp-make-coding-systems-for-codepage):
Remove the eight-bit-graphic and eight-bit-control charsets from the list of charsets which we convert into `?'.
-rw-r--r--lisp/international/codepage.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/international/codepage.el b/lisp/international/codepage.el
index 1d7631bc4b7..c36589b3a1f 100644
--- a/lisp/international/codepage.el
+++ b/lisp/international/codepage.el
@@ -515,8 +515,8 @@ decoder and encoder created by this function."
515 (symbol-value decode-table) iso-name offset))) 515 (symbol-value decode-table) iso-name offset)))
516 (define-translation-table encode-translation 516 (define-translation-table encode-translation
517 (char-table-extra-slot (symbol-value nonascii-table) 0)) 517 (char-table-extra-slot (symbol-value nonascii-table) 0))
518 ;; For charsets other than ascii and ISO-NAME, set `?' for 518 ;; For charsets other than ascii, eight-bit-* and ISO-NAME, set
519 ;; one-column charsets, and some Japanese character for 519 ;; `?' for one-column charsets, and some Japanese character for
520 ;; wide-column charsets. CCL encoder convert that Japanese 520 ;; wide-column charsets. CCL encoder convert that Japanese
521 ;; character to either dos-unsupported-char-glyph or "??". 521 ;; character to either dos-unsupported-char-glyph or "??".
522 (let ((tbl (char-table-extra-slot (symbol-value nonascii-table) 0)) 522 (let ((tbl (char-table-extra-slot (symbol-value nonascii-table) 0))
@@ -525,8 +525,11 @@ decoder and encoder created by this function."
525 (logand dos-unsupported-char-glyph 255) 525 (logand dos-unsupported-char-glyph 255)
526 127) 526 127)
527 ??)) 527 ??))
528 (charsets (delq 'ascii (delq iso-name 528 (charsets (delq 'ascii
529 (copy-sequence charset-list)))) 529 (delq 'eight-bit-control
530 (delq 'eight-bit-graphic
531 (delq iso-name
532 (copy-sequence charset-list))))))
530 (wide-column-char (make-char 'japanese-jisx0208 32 32))) 533 (wide-column-char (make-char 'japanese-jisx0208 32 32)))
531 (while charsets 534 (while charsets
532 (aset tbl (make-char (car charsets)) 535 (aset tbl (make-char (car charsets))