Mercurial > emacs
comparison etc/PROBLEMS @ 40488:554167b7ed9e
Describe Emacs setup in UTF-8 locales.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 30 Oct 2001 09:19:20 +0000 |
parents | 3ce5ada6fda1 |
children | 32b7ea7d8293 |
comparison
equal
deleted
inserted
replaced
40487:8c17e2ae6bf5 | 40488:554167b7ed9e |
---|---|
869 into a mule-unicode-0100-24ff buffer, Emacs won't be able to save that | 869 into a mule-unicode-0100-24ff buffer, Emacs won't be able to save that |
870 buffer neither as ISO 8859-7 nor as UTF-8. | 870 buffer neither as ISO 8859-7 nor as UTF-8. |
871 | 871 |
872 To work around this, install some add-on package such as Mule-UCS. | 872 To work around this, install some add-on package such as Mule-UCS. |
873 | 873 |
874 * Problems when using Emacs with UTF-8 locales | |
875 | |
876 Some systems, including recent versions of GNU/Linux, have terminals | |
877 or X11 subsystems that can be configured to provide Unicode/UTF-8 | |
878 input and display. Normally, such a system sets environment variables | |
879 such as LANG, LC_CTYPE, or LC_ALL to a string which ends with a | |
880 `.UTF-8'. For example, a system like this in a French locale might | |
881 use `fr_FR.UTF-8' as the value of LANG. | |
882 | |
883 Since Unicode support in Emacs, as of v21.1, is not yet complete (see | |
884 the previous entry in this file), UTF-8 support is not enabled by | |
885 default, even in UTF-8 locales. Thus, some Emacs features, such as | |
886 non-ASCII keyboard input, might appear to be broken in these locales. | |
887 To solve these problems, you need to turn on some options in your | |
888 `.emacs' file. Specifically, the following customizations should make | |
889 Emacs work correctly with UTF-8 input and text: | |
890 | |
891 (setq locale-coding-system 'utf-8) | |
892 (set-terminal-coding-system 'utf-8) | |
893 (set-keyboard-coding-system 'utf-8) | |
894 (set-selection-coding-system 'utf-8) | |
895 (prefer-coding-system 'utf-8) | |
896 | |
874 * The `oc-unicode' package doesn't work with Emacs 21. | 897 * The `oc-unicode' package doesn't work with Emacs 21. |
875 | 898 |
876 This package tries to define more private charsets than there are free | 899 This package tries to define more private charsets than there are free |
877 slots now. If the built-in Unicode/UTF-8 support is insufficient, | 900 slots now. If the built-in Unicode/UTF-8 support is insufficient, |
878 e.g. if you need more CJK coverage, use the current Mule-UCS package. | 901 e.g. if you need more CJK coverage, use the current Mule-UCS package. |