/[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.25 Revision 1.26
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.25 2005/06/23 21:56:18 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.26 2005/06/24 19:30:27 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
8<author title="Author"> 8<author title="Author">
9 <mail link="slarti@gentoo.org">Thomas Martin</mail> 9 <mail link="slarti@gentoo.org">Thomas Martin</mail>
10</author> 10</author>
11<author title="Contributor"> 11<author title="Contributor">
12 <mail link="devil@gentoo.org.ua">Alexander Simonov</mail> 12 <mail link="devil@gentoo.org.ua">Alexander Simonov</mail>
13</author> 13</author>
14<author title="Editor"> 14<author title="Editor">
15 <mail link="fox2mike@gentoo.org">Shyam Mani</mail> 15 <mail link="fox2mike@gentoo.org">Shyam Mani</mail>
16</author> 16</author>
17 17
18<abstract> 18<abstract>
19This guide shows you how to set up and use the UTF-8 Unicode character set with 19This guide shows you how to set up and use the UTF-8 Unicode character set with
20your Gentoo Linux system, after explaining the benefits of Unicode and more 20your Gentoo Linux system, after explaining the benefits of Unicode and more
21specifically UTF-8. 21specifically UTF-8.
22</abstract> 22</abstract>
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.5</version> 28<version>2.6</version>
29<date>2005-06-23</date> 29<date>2005-06-25</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>
35<body> 35<body>
36 36
37<p> 37<p>
38Computers do not understand text themselves. Instead, every character is 38Computers do not understand text themselves. Instead, every character is
39represented by a number. Traditionally, each set of numbers used to represent 39represented by a number. Traditionally, each set of numbers used to represent
40alphabets and characters (known as a coding system, encoding or character set) 40alphabets and characters (known as a coding system, encoding or character set)
41was limited in size due to limitations in computer hardware. 41was limited in size due to limitations in computer hardware.
42</p> 42</p>
43 43
44</body> 44</body>
377<body> 377<body>
378 378
379<impo> 379<impo>
380You need >=sys-apps/baselayout-1.11.9 for Unicode on the console. 380You need >=sys-apps/baselayout-1.11.9 for Unicode on the console.
381</impo> 381</impo>
382 382
383<p> 383<p>
384To enable UTF-8 on the console, you should edit <path>/etc/rc.conf</path> and 384To enable UTF-8 on the console, you should edit <path>/etc/rc.conf</path> and
385set <c>UNICODE="yes"</c>, and also read the comments in that file -- it is 385set <c>UNICODE="yes"</c>, and also read the comments in that file -- it is
386important to have a font that has a good range of characters if you plan on 386important to have a font that has a good range of characters if you plan on
387making the most of Unicode. 387making the most of Unicode.
388</p> 388</p>
389 389
390<p> 390<p>
391The <c>KEYMAP</c> variable, set in <path>/etc/conf.d/keymaps</path>, should 391The <c>KEYMAP</c> variable, set in <path>/etc/conf.d/keymaps</path>, should
392have a Unicode keymap specified. To do this, simply prepend the keymap already 392have a Unicode keymap specified.
393specified there with -u.
394</p> 393</p>
395 394
396<pre caption="Example /etc/conf.d/keymaps snippet"> 395<pre caption="Example /etc/conf.d/keymaps snippet">
397<comment>(Change "uk" to your local layout)</comment> 396<comment>(Change "uk" to your local layout)</comment>
398KEYMAP="-u uk" 397KEYMAP="uk"
399</pre> 398</pre>
400 399
401</body> 400</body>
402</section> 401</section>
403<section> 402<section>
404<title>Ncurses and Slang</title> 403<title>Ncurses and Slang</title>
405<body> 404<body>
406 405
407<note> 406<note>
408Ignore any mention of Slang in this section if you do not have it installed or 407Ignore any mention of Slang in this section if you do not have it installed or
409do not use it. 408do not use it.
410</note> 409</note>
411 410
412<p> 411<p>
413It is wise to add <c>unicode</c> to your global USE flags in 412It is wise to add <c>unicode</c> to your global USE flags in

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20