From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs -nw and accented characters Date: 18 Jan 2004 09:32:18 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <8c14dcec.0401172003.2f98473b@posting.google.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1074411255 23195 80.91.224.253 (18 Jan 2004 07:34:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2004 07:34:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 18 08:33:22 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ai7Qg-0005u9-00 for ; Sun, 18 Jan 2004 08:33:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ai7PB-0005Xm-VS for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2004 02:31:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Ai7Or-0005TF-6k for help-gnu-emacs@gnu.org; Sun, 18 Jan 2004 02:31:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Ai7OJ-0005Dj-9w for help-gnu-emacs@gnu.org; Sun, 18 Jan 2004 02:31:10 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1Ai7OI-00058b-HE for help-gnu-emacs@gnu.org; Sun, 18 Jan 2004 02:30:38 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: <8c14dcec.0401172003.2f98473b@posting.google.com> (joelvsmith@earthlink.net) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16134 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16134 > From: joelvsmith@earthlink.net (Joel Smith) > Newsgroups: gnu.emacs.help > Date: 17 Jan 2004 20:03:18 -0800 > > what does it mean to "set terminal-coding-system to match what the > terminal expects?" It means that the encoding of characters used by Emacs when writing to the screen should be what aterm expects to see for Latin-1 characters. What happens if you make a buffer with accented characters, save it to a disk file with C-x RET f latin-1 RET C-x C-s and then dump that file to the screen in an aterm session with cat myfile (where myfile is the file to which you saved the accented characters)? Do the characters display correctly then? The above emulates what Emacs is supposed to do with terminal encoding set to latin-1, as you reported for your case: it encodes each non-ASCII character with its Latin-1 code, then sends that code to the screen.