[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs, mutt and a problem with locales

From: Anders Lennartsson
Subject: Re: Emacs, mutt and a problem with locales
Date: Tue, 26 Dec 2006 15:16:32 +0100
User-agent: Mutt/1.5.9i

I asked essentially the same question in October. There are some
helpful comments from others in that thread [1] [2].

I essentially added the following lines to my .emacs based on
information given by others but interpreted by me:

(prefer-coding-system locale-coding-system)
(when (not window-system)
  (set-keyboard-coding-system locale-coding-system)
  (set-terminal-coding-system locale-coding-system)

The first one is for general use, but if you start emacs in a terminal
window you may need the other lines. With the environment variable
LANG=en_US.UTF-8 now everything works nicely with mutt and emacs, both
in sarge, etch and sid.

I also had to convert my alias file to utf-8, otherwise mutt wouldn't
understand the character encoding when putting in the expanded




reply via email to

[Prev in Thread] Current Thread [Next in Thread]