Re: Emacs, mutt and a problem with locales
* On Sun, Dec 24, 2006 Ismael Valladolid Torres (ivalladolidt@xxxxxxxx)
muttered:
> GNU Emacs as the editor for the mail client.
>
> 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
> 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.
Indeed. Sounds like emacs doesn't know how to handle utf-8 encoded
files. You might want to set the LC_ vars manually instead of relying on
LANG.
HTH,
Michael
--
On a clear disk you can seek forever.
-- P. Denning
PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de