unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Text mode Emacs in multibyte terminal
@ 2005-11-16 21:14 Andreas Schwab
  2005-11-16 22:11 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Schwab @ 2005-11-16 21:14 UTC (permalink / raw)


When running a text mode Emacs in a multibyte environment (eg. utf8 xterm
with LANG=de_DE.UTF-8), and visiting a binary file (like /bin/true) you
get a garbled screen. The problem is that all non-control characters are
written verbatim to the terminal as if it were single-byte encoded.  Even
setting the buffer to multibyte and the terminal coding system to utf-8
doesn't help.  The only way to get a correct display is to load the file
with a forced coding system of utf-8 or some single-byte coding system.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-12-08 19:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-16 21:14 Text mode Emacs in multibyte terminal Andreas Schwab
2005-11-16 22:11 ` Stefan Monnier
2005-11-17  0:54   ` Andreas Schwab
2005-12-07  7:41   ` Kenichi Handa
2005-12-07 12:53     ` Stefan Monnier
2005-12-07 13:02       ` Kenichi Handa
2005-12-07 14:47         ` Stefan Monnier
2005-12-08 19:29     ` Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).