/[gentoo]/xml/htdocs/doc/en/utf-8.xml
Gentoo

Diff of /xml/htdocs/doc/en/utf-8.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.48 Revision 1.49
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.48 2008/05/19 21:08:38 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.49 2008/10/10 16:03:49 jkt Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/utf-8.xml"> 5<guide link="/doc/en/utf-8.xml">
6<title>Using UTF-8 with Gentoo</title> 6<title>Using UTF-8 with Gentoo</title>
7 7
23 23
24<!-- The content of this document is licensed under the CC-BY-SA license --> 24<!-- The content of this document is licensed under the CC-BY-SA license -->
25<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 25<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
26<license /> 26<license />
27 27
28<version>2.25</version> 28<version>2.26</version>
29<date>2007-04-17</date> 29<date>2008-10-10</date>
30 30
31<chapter> 31<chapter>
32<title>Character Encodings</title> 32<title>Character Encodings</title>
33<section> 33<section>
34<title>What is a Character Encoding?</title> 34<title>What is a Character Encoding?</title>
230<title>Setting the Locale</title> 230<title>Setting the Locale</title>
231<body> 231<body>
232 232
233<p> 233<p>
234There is one environment variable that needs to be set in order to use our new 234There is one environment variable that needs to be set in order to use our new
235UTF-8 locales: <c>LANG</c> (you can override this variable with the 235UTF-8 locales: <c>LC_CTYPE</c> (or optionally <c>LANG</c>, if you want to change
236<c>LC_ALL</c> setting as well). There are also many different ways to set it; 236the system language as well). There are also many different ways to set it; some
237some people prefer to only have a UTF-8 environment for a specific user, in 237people prefer to only have a UTF-8 environment for a specific user, in which
238which case they set them in their <path>~/.profile</path> (if you use 238case they set them in their <path>~/.profile</path> (if you use <c>/bin/sh</c>),
239<c>/bin/sh</c>), <path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you 239<path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you use
240use <c>/bin/bash</c>). 240<c>/bin/bash</c>). More details and best practices can be found in our <uri
241link="/doc/en/guide-localization.xml">Locallization Guide</uri>.
241</p> 242</p>
242 243
243<p> 244<p>
244Others prefer to set the locale globally. One specific circumstance where 245Others prefer to set the locale globally. One specific circumstance where
245the author particularly recommends doing this is when 246the author particularly recommends doing this is when

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

  ViewVC Help
Powered by ViewVC 1.1.20