<<< Date Index >>>     <<< Thread Index >>>

Re: Emacs, mutt and a problem with locales



Ismael Valladolid Torres escribe:
> Stefano Sabatini escribe:
> > Try this in your .emacs:
> > (set-language-environment "UTF-8")   
> 
> So, Emacs is not setting the default language environment according to
> the LANG environment variable and I must force it?
> 
> Cordially, Ismael

Did it!

;; Set default language environment when required
(when (string-match "UTF-8" (getenv "LANG"))
  (set-language-environment "UTF-8"))

Thanks for the idea.

Cordially, Ismael
-- 
Ismael Valladolid Torres

http://lamediahostia.blogspot.com/     m. +34679156321
http://www.flickr.com/photos/ivalladt  j. ivalladt@xxxxxxxxxxxx