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

emacs -nw in UTF-8 xterm does not work



I converted my Debian etch system to an UTF-8 environment.

Emacs in X:     Works fine
xterm:          Works find
Emacs in xterm: Trouble (e.g. within mutt)

While characters are displayed correctly, both for files with UTF-8
and with iso-8859-1 encoding (emacs detects that automatically),
the keyboard input of characters with diacritics does not work.
(I use an English keyboard and Compose-"-a for Umlaut-a).


I have tried various combinations of the following settings
in my .emacs file, but to no avail:

 ; ;; My old stuff for ISO-8859-1
 ; (standard-display-european t)
 ; (iso-accents-mode 1)
 ; ;;CF 2006-12-01 (set-keyboard-coding-system 'iso-latin-1)
 ; (setq iso-accents-language "german") ; special german only in later versions
 ; (or (assq 'iso-accents-mode minor-mode-map-alist)
 ;     (setq minor-mode-alist
 ;          (append minor-mode-alist
 ;                  '((iso-accents-mode " ISO-Acc")))))
   
 ; ;; New stuff from web pages
 ; ;; Various combinations have been tried
 ; (setq locale-coding-system 'utf-8)
 ; (set-terminal-coding-system 'utf-8)
 ; (set-keyboard-coding-system locale-coding-system)
 ; (set-selection-coding-system 'utf-8)
 ; (prefer-coding-system 'utf-8)
 ; (prefer-coding-system locale-coding-system)
 ; (when (not window-system)
 ;   (set-keyboard-coding-system locale-coding-system)
 ;   (set-terminal-coding-system locale-coding-system)
 ; )
 ; (set-input-mode (car (current-input-mode)) (nth 1 (current-input-mode)) 1)




I would be grateful for any hints solving that problem.

Note: Please don't reply to this mail; rather post the reply to
the debian-user list so that others who have the same problem
may benefit.

Best regards,

Claus






My Settings:
************

/etc/X11/xorg.conf:
  Option "XkbRules"   "xfree86"
  Option "XkbModel"   "pc105"
  Option "XkbLayout"  "us"
  Option "XkbVariant" ""
  Option "XkbOptions" "grp:sclk_toggle,compose:menu"

/etc/default/locale:
  LANG=en_GB.UTF-8

$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_AT:en_US:en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

-- 
Claus Fischer <claus.fischer@clausfischer.com>
http://www.clausfischer.com/



Reply to: