emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Usage of standard-display-table in MSDOS


From: Kenichi Handa
Subject: Usage of standard-display-table in MSDOS
Date: Mon, 23 Aug 2010 21:44:07 +0900

In msdos-initialize-window-system (of term/pc-win.el), I
found this code:

  ;; In multibyte mode, we want unibyte buffers to be displayed
  ;; using the terminal coding system, so that they display
  ;; correctly on the DOS terminal; in unibyte mode we want to see
  ;; all 8-bit characters verbatim.  In both cases, we want the
  ;; entire range of 8-bit characters to arrive at our display code
  ;; verbatim.
  (standard-display-8bit 127 255)

Is it really working in non-iso-8859-1 environment as
expected?  Note that 128..255 are latin-1 characters after
Emacs 23, not raw-bytes.  So, I think the above call will
make 8-bit bytes in unibyte buffer displayed as latin-1
characters, but as the termial encoding system doesn't
support latin-1 chars in, for instance, greek environment,
just '?' will be displayed.

---
Kenichi Handa
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]