From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Text mode Emacs in multibyte terminal Date: Wed, 07 Dec 2005 07:53:47 -0500 Message-ID: <87vey13w7y.fsf-monnier+emacs@gnu.org> References: <87d5l0gs9n.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133970993 17770 80.91.229.2 (7 Dec 2005 15:56:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2005 15:56:33 +0000 (UTC) Cc: schwab@suse.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 07 16:56:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ek1do-00068f-3s for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2005 16:55:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ek1e3-0003aY-2W for ged-emacs-devel@m.gmane.org; Wed, 07 Dec 2005 10:55:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjyoI-0001LL-2y for emacs-devel@gnu.org; Wed, 07 Dec 2005 07:54:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ejyo9-0001G8-NG for emacs-devel@gnu.org; Wed, 07 Dec 2005 07:54:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejyo9-0001G1-Iu for emacs-devel@gnu.org; Wed, 07 Dec 2005 07:54:05 -0500 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ejyoz-0006n1-DL for emacs-devel@gnu.org; Wed, 07 Dec 2005 07:54:57 -0500 Original-Received: from alfajor ([70.49.81.194]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20051207125347.KZNV8316.tomts20-srv.bellnexxia.net@alfajor>; Wed, 7 Dec 2005 07:53:47 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 15763D7377; Wed, 7 Dec 2005 07:53:47 -0500 (EST) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Wed, 07 Dec 2005 16:41:03 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [0] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47110 Archived-At: >>> The problem is that all non-control characters are >>> written verbatim to the terminal as if it were single-byte encoded. >> You mean all the eight-bit-* chars? I'd argue that such chars should always >> be written as \NNN except for the special legacy case of unibyte sessions. > This was the case that a binary file is read into a unibyte > buffer, and \240..\377 are displayed as is; i.e. those exact > bytes are sent to the terminal. That's happened because > Emacs setup standard-display-table for Latin-1 even if the > locale is UTF-8. I'v just installed a fix not to setup > standard-display-table in such a case. > But, it seems that you are proposing not to setup > standard-display-table even if the locale is Latin-1, right? Yes, that's indeed what I'm proposing. Stefan