From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marco De Vitis Newsgroups: gmane.emacs.help Subject: Re: 8-bit characters input Date: Thu, 12 Apr 2007 15:32:08 GMT Organization: [Infostrada] Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1176392276 22433 80.91.229.12 (12 Apr 2007 15:37:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2007 15:37:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 17:37:50 2007 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.50) id 1Hc1Mq-0000pp-VV for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2007 17:37:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hc1R1-0001CT-Cr for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2007 11:42:07 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.2pre) Gecko/20070116 Thunderbird/2.0b2 Mnenhy/0.7.5.666 Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 44 Original-NNTP-Posting-Host: 151.32.170.248 Original-X-Complaints-To: abuse@iol.it Original-X-Trace: twister2.libero.it 1176391928 151.32.170.248 (Thu, 12 Apr 2007 17:32:08 MET DST) Original-NNTP-Posting-Date: Thu, 12 Apr 2007 17:32:08 MET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:147016 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:42620 Archived-At: Il 11/04/2007 16:14, Stefan Monnier ha scritto: >> C-v C-h l > > Hmm... that's odd.. And that's with OSX's Terminal.app? > I get full utf-8 coding there, without having changed any part of the config. Yes, OSX's Terminal.app. I actually have customized the Terminal config somehow a long time ago, to be able to correctly input and read utf-8 in Terminal itself... > I'm not sure what you mean by "configured as xterm-color". I mean that OSX's Terminal is set, through its preferences, to declare the terminal type as xterm-color. Or, in other words, that the env var $TERM is set to "xterm-color". >> I now tried also from PuTTy (configured as xterm) on a Windows machine, and >> hitting à appears to send different stuff: > >> M-C M-SPC C-h l > > That looks much better. Actually it looks almost like utf-8. Have you > tried C-x RET k utf-8 RET when logged in this way? I did now, and indeed it works! And then... it also works in Terminal.app, as long as I open Terminal.app's window preferences and deactivate the "Escape non-ASCII chars" option in the Emulation section; indeed, when this option is not active, pressing "à" in emacs sends the same codes which were sent using PuTTy. So, I can now use 8-bit chars in emacs by putting (set-keyboard-coding-system 'utf-8) in my ~/.emacs file, and deactivating that Terminal option when I'm on OSX; the only problem is that I need that option to correctly input 8-bit chars in Terminal's "normal" usage, i.e. when using it locally, without connecting to a remote machine... I'll try to live with it. Thanks a lot. -- Ciao, Marco.