Mercurial > emacs
comparison man/mule.texi @ 26513:949ca235ee9e
Describe the relationship between set-locale-environment and
set-language-environment, and why one might want to invoke
set-locale-environment.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Sat, 20 Nov 1999 06:48:39 +0000 |
parents | 068f7ad41d40 |
children | 488f307b4f59 |
comparison
equal
deleted
inserted
replaced
26512:a6cf126fdf97 | 26513:949ca235ee9e |
---|---|
179 locale @samp{en_GB.ISO8859-15} matches @code{"Latin-1"} in | 179 locale @samp{en_GB.ISO8859-15} matches @code{"Latin-1"} in |
180 @code{locale-language-names} and @code{"Latin-9"} in | 180 @code{locale-language-names} and @code{"Latin-9"} in |
181 @code{locale-charset-language-names}; since these two language | 181 @code{locale-charset-language-names}; since these two language |
182 environments' character sets disagree, Emacs uses @code{"Latin-9"}. | 182 environments' character sets disagree, Emacs uses @code{"Latin-9"}. |
183 | 183 |
184 If all goes well, the @code{set-locale-environment} function selects | |
185 the language environment, since language is part of locale. It also | |
186 adjusts the display table and terminal coding system, the locale coding | |
187 system, and the preferred coding system as needed for the locale. | |
188 | |
189 Since the @code{set-locale-environment} function is automatically | |
190 invoked during startup, you normally do not need to invoke it yourself. | |
191 However, if you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} | |
192 environment variables, you may want to invoke the | |
193 @code{set-locale-environment} function afterwards. | |
194 | |
184 @findex set-locale-environment | 195 @findex set-locale-environment |
185 @vindex locale-preferred-coding-systems | 196 @vindex locale-preferred-coding-systems |
186 The @code{set-locale-environment} function normally uses the preferred | 197 The @code{set-locale-environment} function normally uses the preferred |
187 coding system established by the language environment to decode system | 198 coding system established by the language environment to decode system |
188 messages. But if your locale matches an entry in the variable | 199 messages. But if your locale matches an entry in the variable |