unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: macondo <ironwindow2001@yahoo.com>
Cc: help-gnu-emacs@gnu.org, mutt-users@mutt.org
Subject: Re: Emacs, mutt and a problem with locales
Date: Sun, 24 Dec 2006 12:44:16 -0500	[thread overview]
Message-ID: <Pine.LNX.4.64.0612241237100.2735@localhost.localdomain> (raw)
In-Reply-To: <20061224111826.GA4316@terra.es>

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 <accented u>nico que me dice dmesg"
> 
> I answer the message, Emacs opens and I see:
> 
> "Lo <A with a tilde followed by underscored o>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



  reply	other threads:[~2006-12-24 17:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-24 11:18 Emacs, mutt and a problem with locales Ismael Valladolid Torres
2006-12-24 17:44 ` macondo [this message]
2006-12-26 14:16 ` Anders Lennartsson
     [not found] <mailman.2308.1166959163.2155.help-gnu-emacs@gnu.org>
2006-12-24 12:48 ` Charles philip Chan
2006-12-24 17:05   ` Ismael Valladolid Torres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0612241237100.2735@localhost.localdomain \
    --to=ironwindow2001@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mutt-users@mutt.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).