Red Hat Bugzilla – Bug 21345
cannot use accented characters with emacs
Last modified: 2007-04-18 12:30:02 EDT
I am unable to type scandinavian characters (part of Latin-1 character set)
when launching it using 'emacs -nw file.txt'.
When emacs pops out an X-window (start using 'emacs file.txt'),
scandinavian characters work correctly.
Characters I tried include d (a with two dots) and v (o with to dots).
Characters seems to
be interpreted as some control sequences - for example, when typing d (ae,
a with two dots), the current word is deleted.
I live in Finland but my installation and settings specify English.
However, setting LANG=fi_FI and LC_CTYPE=fi_FI did not seem to help the
The problem can be fixed by creating /usr/share/emacs/site-lisp/default.el
with the following content:
(set-input-mode (car (current-input-mode))
(nth 1 (current-input-mode))
A better fix may exist but I think the default behaviour should be to
support 8-bit Latin-1 characters correctly with no complex configuration
modifications like the one presented above.
$ cat /etc/redhat-release
Red Hat Linux release 7.0 (Guinness)
$ rpm -q emacs emacs-X11 glibc
That is, a Red Hat 7 system with all fixes as of 2000-11-25 applied.
Verified... works fine in console and works fine in X, but not in console mode
in X. The above workaround can't be used, as it restricts Emacs to work with one
set of characters.
*** This bug has been marked as a duplicate of 13569 ***