Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 89367 | Differences between
and this patch

Collapse All | Expand All

(-)en/utf-8.xml (-12 / +19 lines)
Lines 20-27 Link Here
20
20
21
<license />
21
<license />
22
22
23
<version>2.0</version>
23
<version>2.1</version>
24
<date>2005-05-08</date>
24
<date>2005-05-25</date>
25
25
26
<chapter>
26
<chapter>
27
<title>Character Encodings</title>
27
<title>Character Encodings</title>
Lines 228-243 Link Here
228
<body>
228
<body>
229
229
230
<p>
230
<p>
231
There are two environment variables that need to be set in order to use
231
There are two environment variables that need to be set in order to use our new
232
our new UTF-8 locales: <c>LANG</c> and <c>LC_ALL</c>. There are also
232
UTF-8 locales: <c>LANG</c> and <c>LC_ALL</c>. There are also many different
233
many different ways to set them; some people prefer to only have a UTF-8
233
ways to set them; some people prefer to only have a UTF-8 environment for a
234
environment for a specific user, in which case they set them in their
234
specific user, in which case individual users can set locales in their
235
<path>~/.profile</path> or <path>~/.bashrc</path>. Others prefer to set the
235
<path>~/.bash_profile</path>.
236
locale globally. One specific circumstance where the author particularly
236
</p>
237
recommends doing this is when <path>/etc/init.d/xdm</path> is in use, because
237
238
this init script starts the display manager and desktop before any of the
238
<note>
239
aforementioned shell startup files are sourced, and so before any of the
239
If <c>bash</c> is called via the <c>sh</c> symlink, it will attempt to conform to POSIX standards, and will source <path>~/.profile</path> and <b>not</b> <path>~/.bash_profile</path>. To remedy this, you can either list the settings in both files, or you can link the files via <c>ln</c>.
240
variables are in the environment.
240
</note>
241
242
<p>
243
Other individuals prefer to set the locale globally. One specific circumstance
244
where the author particularly recommends global options is when a graphical
245
login manager is in use, because this init script starts the display manager
246
and desktop before any of the aforementioned shell startup files are sourced,
247
and so before any of the variables are in the environment.
241
</p>
248
</p>
242
249
243
<p>
250
<p>

Return to bug 89367