From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: macondo Newsgroups: gmane.linux.debian.user,gmane.emacs.help,gmane.mail.mutt.user Subject: Re: Emacs, mutt and a problem with locales Date: Sun, 24 Dec 2006 12:44:16 -0500 Message-ID: References: <20061224111826.GA4316@terra.es> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1166981764 12585 80.91.229.10 (24 Dec 2006 17:36:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Dec 2006 17:36:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, mutt-users@mutt.org Original-X-From: bounce-debian-user=gldu-debian-user-2=m.gmane.org@lists.debian.org Sun Dec 24 18:36:02 2006 Return-path: Envelope-to: gldu-debian-user-2@m.gmane.org Original-Received: from murphy.debian.org ([70.103.162.31]) by dough.gmane.org with esmtp (Exim 4.50) id 1GyXGQ-0007y0-O8 for gldu-debian-user-2@m.gmane.org; Sun, 24 Dec 2006 18:35:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by murphy.debian.org (Postfix) with QMQP id 307FA2DF3E; Sun, 24 Dec 2006 11:35:50 -0600 (CST) Old-Return-Path: Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by murphy.debian.org (Postfix) with ESMTP id C52672DDC0 for ; Sun, 24 Dec 2006 11:35:48 -0600 (CST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GyXGA-0005Bf-FJ for debian-user@lists.debian.org; Sun, 24 Dec 2006 18:35:42 +0100 Original-Received: from 201.226.61.53 ([201.226.61.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Dec 2006 18:35:42 +0100 Original-Received: from ironwindow2001 by 201.226.61.53 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Dec 2006 18:35:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: debian-user@lists.debian.org Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 201.226.61.53 In-Reply-To: <20061224111826.GA4316@terra.es> Original-Sender: news X-Rc-Virus: 2006-10-25_01 X-Rc-Spam: 2006-12-04_03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on murphy.debian.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=4.0 tests=FORGED_YAHOO_RCVD, LDOSUBSCRIBER,RCVD_BY_IP,RCVD_NUMERIC_HELO autolearn=no version=3.0.3 Resent-Message-ID: Resent-From: debian-user@lists.debian.org X-Mailing-List: archive/latest/462434 X-Loop: debian-user@lists.debian.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: debian-user-request@lists.debian.org Resent-Date: Sun, 24 Dec 2006 11:35:50 -0600 (CST) Xref: news.gmane.org gmane.linux.debian.user:267617 gmane.emacs.help:39904 gmane.mail.mutt.user:26263 Archived-At: On Sun, 24 Dec 2006, Ismael Valladolid Torres wrote: > LANG is es_ES.UTF-8 and there is no other LC_* environment variable > defined. > > The problem is that Mutt shows properly any message with the correct > encoding, even I see oriental symbols in spam received with the > iso-2022-jp encoding. But when I answer a message with spanish special > characters, Emacs opens and everything starts behaving unproperly. > > As an example, I read a message using Mutt, with a line like: > > "Lo nico que me dice dmesg" > > I answer the message, Emacs opens and I see: > > "Lo nico que me dice dmesg" > > And below, in Emacs status line I see "0" instead of "u", so it seems > like Emacs is not detecting that the source being edited is composed > by UTF-8 characters. > > Then I edit my response, send the message, and when receiving the copy > from the mailing list I'd see: > > "Lo nico que me dice dmesg" Hi Ismael, this what i got in my /etc/environment: LC_ALL=es_ES.ISO-8859-15@euro LANGUAGE=en_US LC_TYPE=es_ES.ISO-8859-15@euro LANG=es_ES.ISO-8859-15@euro #reboot the second line allows me to read the terminal messages (apt-get) in english. In Pine for locales i got ISO-8859-1 ISO-8859-15 UTF-8 I don't know if you need a comma after each one in Mutt. greetings, macondo