nightmorph    06/10/06 18:35:52

  Modified:             utf-8.xml
  Log:
  changed LC_ALL to LANG recommendation per bug 148236

Revision  Changes    Path
1.45                 xml/htdocs/doc/en/utf-8.xml

file : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/utf-8.xml?rev=1.45&view=markup
plain: 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/utf-8.xml?rev=1.45&content-type=text/plain
diff : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/utf-8.xml?r1=1.44&r2=1.45

Index: utf-8.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- utf-8.xml   29 Aug 2006 10:03:52 -0000      1.44
+++ utf-8.xml   6 Oct 2006 18:35:52 -0000       1.45
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.44 
2006/08/29 10:03:52 rane Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.45 
2006/10/06 18:35:52 nightmorph Exp $ -->
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 
 <guide link="/doc/en/utf-8.xml">
@@ -25,8 +25,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license />
 
-<version>2.22</version>
-<date>2006-08-28</date>
+<version>2.23</version>
+<date>2006-10-06</date>
 
 <chapter>
 <title>Character Encodings</title>
@@ -231,13 +231,13 @@
 <body>
 
 <p>
-There is one environment variable that needs to be set in order to use
-our new UTF-8 locales: <c>LC_ALL</c> (this variable overrides the <c>LANG</c> 
-setting as well). There are also many different ways to set it; some people 
-prefer to only have a UTF-8 environment for a specific user, in which case 
-they set them in their <path>~/.profile</path> (if you use <c>/bin/sh</c>), 
-<path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you use
-<c>/bin/bash</c>).
+There is one environment variable that needs to be set in order to use our new
+UTF-8 locales: <c>LANG</c> (you can override this variable with the
+<c>LC_ALL</c> setting as well). There are also many different ways to set it;
+some people prefer to only have a UTF-8 environment for a specific user, in
+which case they set them in their <path>~/.profile</path> (if you use
+<c>/bin/sh</c>), <path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you
+use <c>/bin/bash</c>).
 </p>
 
 <p>
@@ -257,9 +257,19 @@
 
 <pre caption="Demonstration /etc/env.d/02locale">
 <comment>(As always, change "en_GB.UTF-8" to your locale)</comment>
-LC_ALL="en_GB.UTF-8"
+LANG="en_GB.UTF-8"
 </pre>
 
+<note>
+You can also substitute <c>LC_ALL</c> for <c>LANG</c>. This sets your locale
+for all categories, including numerical and currency values. On a very few
+systems, it might cause some issues. However, most users should be able to use
+<c>LC_ALL</c> without problems. For more information on the categories affected
+by using <c>LC_ALL</c>, please read the <uri
+link="http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html#Locale-Categories";>GNU
+locale page</uri>.
+</note>
+
 <p>
 Next, the environment must be updated with the change.
 </p>



-- 
[email protected] mailing list

Reply via email to