summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-10-30 09:19:20 +0000
committerEli Zaretskii <eliz@gnu.org>2001-10-30 09:19:20 +0000
commitde7396bb05e0361d9684fcf0888b3bfcd8e877a3 (patch)
tree5428242001311e10a7779f457beb28a16488a0a9 /etc
parent8e8223e20f0a77272aa5970e1f90c4e77fb20f32 (diff)
downloademacs-de7396bb05e0361d9684fcf0888b3bfcd8e877a3.tar.gz
Describe Emacs setup in UTF-8 locales.
Diffstat (limited to 'etc')
-rw-r--r--etc/PROBLEMS23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index d4efbaf19e6..4488d50764e 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -871,6 +871,29 @@ buffer neither as ISO 8859-7 nor as UTF-8.
To work around this, install some add-on package such as Mule-UCS.
+* Problems when using Emacs with UTF-8 locales
+
+Some systems, including recent versions of GNU/Linux, have terminals
+or X11 subsystems that can be configured to provide Unicode/UTF-8
+input and display. Normally, such a system sets environment variables
+such as LANG, LC_CTYPE, or LC_ALL to a string which ends with a
+`.UTF-8'. For example, a system like this in a French locale might
+use `fr_FR.UTF-8' as the value of LANG.
+
+Since Unicode support in Emacs, as of v21.1, is not yet complete (see
+the previous entry in this file), UTF-8 support is not enabled by
+default, even in UTF-8 locales. Thus, some Emacs features, such as
+non-ASCII keyboard input, might appear to be broken in these locales.
+To solve these problems, you need to turn on some options in your
+`.emacs' file. Specifically, the following customizations should make
+Emacs work correctly with UTF-8 input and text:
+
+ (setq locale-coding-system 'utf-8)
+ (set-terminal-coding-system 'utf-8)
+ (set-keyboard-coding-system 'utf-8)
+ (set-selection-coding-system 'utf-8)
+ (prefer-coding-system 'utf-8)
+
* The `oc-unicode' package doesn't work with Emacs 21.
This package tries to define more private charsets than there are free