swift 05/06/02 18:36:28 Modified: xml/htdocs/doc/en utf-8.xml Log: #90208 - Only one var is sufficient. See also http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html#Locale-Categories
Revision Changes Path 1.16 +7 -8 xml/htdocs/doc/en/utf-8.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/utf-8.xml?rev=1.16&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/utf-8.xml?rev=1.16&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/utf-8.xml.diff?r1=1.15&r2=1.16&cvsroot=gentoo Index: utf-8.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- utf-8.xml 29 May 2005 16:00:59 -0000 1.15 +++ utf-8.xml 2 Jun 2005 18:36:28 -0000 1.16 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.15 2005/05/29 16:00:59 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.16 2005/06/02 18:36:28 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/utf-8.xml"> @@ -20,8 +20,8 @@ <license /> -<version>2.0</version> -<date>2005-05-08</date> +<version>2.1</version> +<date>2005-06-02</date> <chapter> <title>Character Encodings</title> @@ -228,9 +228,9 @@ <body> <p> -There are two environment variables that need to be set in order to use -our new UTF-8 locales: <c>LANG</c> and <c>LC_ALL</c>. There are also -many different ways to set them; some people prefer to only have a UTF-8 +There is one environment variables 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> or <path>~/.bashrc</path>. Others prefer to set the locale globally. One specific circumstance where the author particularly @@ -249,7 +249,6 @@ <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> <p> @@ -270,7 +269,7 @@ <pre caption="Checking if our new locale is in the environment"> # <i>locale</i> -LANG=en_GB.UTF-8 +LANG= LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" -- [email protected] mailing list
