/[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.6 Revision 1.7
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.6 2005/03/17 07:23:54 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.7 2005/03/25 10:08:18 swift 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
18specifically UTF-8. 18specifically UTF-8.
19</abstract> 19</abstract>
20 20
21<license /> 21<license />
22 22
23<version>1.5</version> 23<version>1.6</version>
24<date>2005-03-17</date> 24<date>2005-03-25</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>
208</note> 208</note>
209 209
210<pre caption="Creating a UTF-8 locale"> 210<pre caption="Creating a UTF-8 locale">
211<comment>(Replace "en_GB" with your desired locale setting)</comment> 211<comment>(Replace "en_GB" with your desired locale setting)</comment>
212# <i>localedef -i en_GB -f UTF-8 en_GB.utf8</i> 212# <i>localedef -i en_GB -f UTF-8 en_GB.utf8</i>
213</pre>
214
215<p>
216Another way to include a UTF-8 locale is to add it to the
217<path>/etc/locales.build</path> file and rebuild <c>glibc</c> with the
218<c>userlocales</c> USE flag set.
219</p>
220
221<pre caption="Line in /etc/locales.build">
222en_GB.UTF-8/UTF-8
213</pre> 223</pre>
214 224
215</body> 225</body>
216</section> 226</section>
217<section> 227<section>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20