diff options
Diffstat (limited to 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index e2476577fe3..c54c67ea8ac 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -835,9 +835,9 @@ in *Help* buffer. See also the command `describe-char'." (if (or (not coding) (eq (coding-system-type coding) t)) (setq coding default-buffer-file-coding-system)) - (if (not (char-valid-p char)) + (if (eq (char-charset char) 'eight-bit) (setq encoding-msg - (format "(0%o, %d, 0x%x, invalid)" char char char)) + (format "(0%o, %d, 0x%x, raw-byte)" char char char)) (setq encoded (and (>= char 128) (encode-coding-char char coding))) (setq encoding-msg (if encoded |