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

Re: Emacs, mutt and a problem with locales

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


[1] http://lists.debian.org/debian-user/2006/10/msg03418.html

[2] http://lists.debian.org/debian-user/2006/11/msg00023.html

Reply to: