From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Font Interaction Date: Fri, 23 Apr 2010 11:59:58 +0300 Message-ID: <83wrvy35o1.fsf@gnu.org> References: <83k4s04w1m.fsf@gnu.org> <95C75656-737C-4BDA-8388-B2555B07A91C@Web.DE> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1272013290 15517 80.91.229.12 (23 Apr 2010 09:01:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 09:01:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 23 11:01:28 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5ElC-0006VT-22 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 11:01:18 +0200 Original-Received: from localhost ([127.0.0.1]:55380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5ElB-0006JL-Ed for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 05:01:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5Ekh-0006J2-63 for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 05:00:47 -0400 Original-Received: from [140.186.70.92] (port=39585 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5Ekb-0006IZ-ON for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 05:00:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5EkZ-00052T-HT for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 05:00:41 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:34730) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5EkZ-000526-1N for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 05:00:39 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L1B00300NKNR000@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 11:59:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.129.222]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1B0027ANNW5850@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 23 Apr 2010 11:59:57 +0300 (IDT) In-reply-to: <95C75656-737C-4BDA-8388-B2555B07A91C@Web.DE> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72808 Archived-At: > Cc: Eli Zaretskii , > help-gnu-emacs@gnu.org > From: Peter Dyballa > Date: Fri, 23 Apr 2010 10:27:06 +0200 > > So it might be worth to set an UTF-8 encoding only for some buffers or > processes, or, when the terminal is definitely set up for UTF-8 and > GNU Emacs is by default in UTF-8 mood (via environment variable > LC_CTYPE, LC_LANG, LC_ALL, or other means), then set these "screwed > up" processes/buffers into some 8- or 7-bit encoding. What? why? The way Emacs encodes terminal output on text terminals is entirely independent of the buffer contents. Characters in the buffer are held in the internal Emacs representation, and Emacs explicitly encodes them when it sends them to the screen. So there's no dependency whatsoever between the buffer contents and the terminal encodings that could be used with it. (Of course, some characters will be sent as `?' if the terminal encoding cannot represent them, but UTF-8 can represent all characters, and `?' on display is not the OP's problem anyway.) Also, "C-x RET t" overrides any settings determined by LC_* variables, so that also should be irrelevant. Am I missing something?