1 |
nightmorph 06/10/06 18:35:52 |
2 |
|
3 |
Modified: utf-8.xml |
4 |
Log: |
5 |
changed LC_ALL to LANG recommendation per bug 148236 |
6 |
|
7 |
Revision Changes Path |
8 |
1.45 xml/htdocs/doc/en/utf-8.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/utf-8.xml?rev=1.45&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/utf-8.xml?rev=1.45&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/utf-8.xml?r1=1.44&r2=1.45 |
13 |
|
14 |
Index: utf-8.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v |
17 |
retrieving revision 1.44 |
18 |
retrieving revision 1.45 |
19 |
diff -u -r1.44 -r1.45 |
20 |
--- utf-8.xml 29 Aug 2006 10:03:52 -0000 1.44 |
21 |
+++ utf-8.xml 6 Oct 2006 18:35:52 -0000 1.45 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.44 2006/08/29 10:03:52 rane Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.45 2006/10/06 18:35:52 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/utf-8.xml"> |
29 |
@@ -25,8 +25,8 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license /> |
32 |
|
33 |
-<version>2.22</version> |
34 |
-<date>2006-08-28</date> |
35 |
+<version>2.23</version> |
36 |
+<date>2006-10-06</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Character Encodings</title> |
40 |
@@ -231,13 +231,13 @@ |
41 |
<body> |
42 |
|
43 |
<p> |
44 |
-There is one environment variable that needs to be set in order to use |
45 |
-our new UTF-8 locales: <c>LC_ALL</c> (this variable overrides the <c>LANG</c> |
46 |
-setting as well). There are also many different ways to set it; some people |
47 |
-prefer to only have a UTF-8 environment for a specific user, in which case |
48 |
-they set them in their <path>~/.profile</path> (if you use <c>/bin/sh</c>), |
49 |
-<path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you use |
50 |
-<c>/bin/bash</c>). |
51 |
+There is one environment variable that needs to be set in order to use our new |
52 |
+UTF-8 locales: <c>LANG</c> (you can override this variable with the |
53 |
+<c>LC_ALL</c> setting as well). There are also many different ways to set it; |
54 |
+some people prefer to only have a UTF-8 environment for a specific user, in |
55 |
+which case they set them in their <path>~/.profile</path> (if you use |
56 |
+<c>/bin/sh</c>), <path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you |
57 |
+use <c>/bin/bash</c>). |
58 |
</p> |
59 |
|
60 |
<p> |
61 |
@@ -257,9 +257,19 @@ |
62 |
|
63 |
<pre caption="Demonstration /etc/env.d/02locale"> |
64 |
<comment>(As always, change "en_GB.UTF-8" to your locale)</comment> |
65 |
-LC_ALL="en_GB.UTF-8" |
66 |
+LANG="en_GB.UTF-8" |
67 |
</pre> |
68 |
|
69 |
+<note> |
70 |
+You can also substitute <c>LC_ALL</c> for <c>LANG</c>. This sets your locale |
71 |
+for all categories, including numerical and currency values. On a very few |
72 |
+systems, it might cause some issues. However, most users should be able to use |
73 |
+<c>LC_ALL</c> without problems. For more information on the categories affected |
74 |
+by using <c>LC_ALL</c>, please read the <uri |
75 |
+link="http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html#Locale-Categories">GNU |
76 |
+locale page</uri>. |
77 |
+</note> |
78 |
+ |
79 |
<p> |
80 |
Next, the environment must be updated with the change. |
81 |
</p> |
82 |
|
83 |
|
84 |
|
85 |
-- |
86 |
gentoo-doc-cvs@g.o mailing list |