[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs, mutt and a problem with locales
From: |
Ismael Valladolid Torres |
Subject: |
Re: Emacs, mutt and a problem with locales |
Date: |
Sun, 24 Dec 2006 18:05:21 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Charles philip Chan escribe:
> On 24 Dec 2006, ivalladolidt@terra.es wrote:
>
> > But when I answer a message with spanish special
> > characters, Emacs opens and everything starts behaving unproperly.
>
> Try putting:
>
> (set-language-environment "UTF-8")
>
> in your ~/.emacs. You should also set emacs to use a unicode
> font. Please refer to this:
>
> http://www.emacswiki.org/cgi-bin/emacs-en?CategoryInternationalization
Thanks, solved like this:
(when (string-match "UTF-8" (getenv "LANG"))
(set-language-environment "UTF-8"))
Thanks for the ideas.
Cordially, Ismael
--
Ismael Valladolid Torres
http://lamediahostia.blogspot.com/ m. +34679156321
http://www.flickr.com/photos/ivalladt j. ivalladt@jabberes.org