all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ismael Valladolid Torres <ivalladolidt@terra.es>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs, mutt and a problem with locales
Date: Sun, 24 Dec 2006 18:05:21 +0100	[thread overview]
Message-ID: <20061224170521.GF9480@terra.es> (raw)
In-Reply-To: <87d569pii0.fsf@MagnumOpus.khem>

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

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

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

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

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

  git send-email \
    --in-reply-to=20061224170521.GF9480@terra.es \
    --to=ivalladolidt@terra.es \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.