75 |
appropriate keyboard coding system (@pxref{Specify Coding}), and Emacs |
appropriate keyboard coding system (@pxref{Specify Coding}), and Emacs |
76 |
will accept those characters. Latin-1 characters can also be input by |
will accept those characters. Latin-1 characters can also be input by |
77 |
using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support, |
using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support, |
78 |
C-x 8}. |
C-x 8}. On X Window systems, your locale should be set to an |
79 |
|
appropriate value to make sure keyboard input is interpreted |
80 |
|
correctly by Emacs, see @ref{Language Environments, locales}. |
81 |
@end itemize |
@end itemize |
82 |
|
|
83 |
The rest of this chapter describes these issues in detail. |
The rest of this chapter describes these issues in detail. |
280 |
@code{locale-charset-language-names} and @code{locale-language-names}, |
@code{locale-charset-language-names} and @code{locale-language-names}, |
281 |
and selects the corresponding language environment if a match is found. |
and selects the corresponding language environment if a match is found. |
282 |
(The former variable overrides the latter.) It also adjusts the display |
(The former variable overrides the latter.) It also adjusts the display |
283 |
table and terminal coding system, the locale coding system, and the |
table and terminal coding system, the locale coding system, the |
284 |
preferred coding system as needed for the locale. |
preferred coding system as needed for the locale, and---last but not |
285 |
|
least---the way Emacs decodes non-ASCII characters sent by your keyboard. |
286 |
|
|
287 |
If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} |
If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} |
288 |
environment variables while running Emacs, you may want to invoke the |
environment variables while running Emacs, you may want to invoke the |
1040 |
C-w} to specify a new file name for that buffer. |
C-w} to specify a new file name for that buffer. |
1041 |
|
|
1042 |
@vindex locale-coding-system |
@vindex locale-coding-system |
1043 |
|
@cindex decoding non-ASCII characters on X |
1044 |
The variable @code{locale-coding-system} specifies a coding system |
The variable @code{locale-coding-system} specifies a coding system |
1045 |
to use when encoding and decoding system strings such as system error |
to use when encoding and decoding system strings such as system error |
1046 |
messages and @code{format-time-string} formats and time stamps. You |
messages and @code{format-time-string} formats and time stamps. That |
1047 |
should choose a coding system that is compatible with the underlying |
coding system is also used for decoding non-ASCII keyboard input on X |
1048 |
system's text representation, which is normally specified by one of |
Window systems. You should choose a coding system that is compatible |
1049 |
the environment variables @env{LC_ALL}, @env{LC_CTYPE}, and |
with the underlying system's text representation, which is normally |
1050 |
@env{LANG}. (The first one, in the order specified above, whose value |
specified by one of the environment variables @env{LC_ALL}, |
1051 |
is nonempty is the one that determines the text representation.) |
@env{LC_CTYPE}, and @env{LANG}. (The first one, in the order |
1052 |
|
specified above, whose value is nonempty is the one that determines |
1053 |
|
the text representation.) |
1054 |
|
|
1055 |
@node Fontsets |
@node Fontsets |
1056 |
@section Fontsets |
@section Fontsets |