| 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.18 2005/06/02 18:51:06 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.19 2005/06/18 03:53:44 fox2mike 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 | |
| … | |
… | |
| 19 | </abstract> |
19 | </abstract> |
| 20 | |
20 | |
| 21 | <license /> |
21 | <license /> |
| 22 | |
22 | |
| 23 | <version>2.2</version> |
23 | <version>2.2</version> |
| 24 | <date>2005-06-02</date> |
24 | <date>2005-06-18</date> |
| 25 | |
25 | |
| 26 | <chapter> |
26 | <chapter> |
| 27 | <title>Character Encodings</title> |
27 | <title>Character Encodings</title> |
| 28 | <section> |
28 | <section> |
| 29 | <title>What is a Character Encoding?</title> |
29 | <title>What is a Character Encoding?</title> |
| … | |
… | |
| 226 | <section> |
226 | <section> |
| 227 | <title>Setting the Locale</title> |
227 | <title>Setting the Locale</title> |
| 228 | <body> |
228 | <body> |
| 229 | |
229 | |
| 230 | <p> |
230 | <p> |
| 231 | There is one environment variables that needs to be set in order to use |
231 | There is one environment variable that needs to be set in order to use |
| 232 | our new UTF-8 locales: <c>LC_ALL</c> (this variable overrides the <c>LANG</c> |
232 | our new UTF-8 locales: <c>LC_ALL</c> (this variable overrides the <c>LANG</c> |
| 233 | setting as well). There are also many different ways to set it; some people |
233 | setting as well). There are also many different ways to set it; some people |
| 234 | prefer to only have a UTF-8 environment for a specific user, in which case |
234 | prefer to only have a UTF-8 environment for a specific user, in which case |
| 235 | they set them in their <path>~/.profile</path> (if you use <c>/bin/sh</c>), |
235 | they set them in their <path>~/.profile</path> (if you use <c>/bin/sh</c>), |
| 236 | <path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you use |
236 | <path>~/.bash_profile</path> or <path>~/.bashrc</path> (if you use |