/[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.56 Revision 1.57
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.56 2012/03/26 19:21:56 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.57 2012/07/24 12:12:51 swift Exp $ -->
4 4
5<guide> 5<guide>
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<author title="Editor"> 17<author title="Editor">
18 <mail link="nightmorph"/> 18 <mail link="nightmorph"/>
19</author> 19</author>
20 20
21<abstract> 21<abstract>
22This guide shows you how to set up and use the UTF-8 Unicode character set with 22This guide shows you how to set up and use the UTF-8 Unicode character set with
23your Gentoo Linux system, after explaining the benefits of Unicode and more 23your Gentoo Linux system, after explaining the benefits of Unicode and more
24specifically UTF-8. 24specifically UTF-8.
25</abstract> 25</abstract>
26 26
27<!-- The content of this document is licensed under the CC-BY-SA license --> 27<!-- The content of this document is licensed under the CC-BY-SA license -->
28<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 28<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
29<license /> 29<license />
30 30
31<version>5</version> 31<version>6</version>
32<date>2012-03-26</date> 32<date>2012-07-24</date>
33 33
34<chapter> 34<chapter>
35<title>Character Encodings</title> 35<title>Character Encodings</title>
36<section> 36<section>
37<title>What is a Character Encoding?</title> 37<title>What is a Character Encoding?</title>
38<body> 38<body>
39 39
40<p> 40<p>
41Computers do not understand text themselves. Instead, every character is 41Computers do not understand text themselves. Instead, every character is
42represented by a number. Traditionally, each set of numbers used to represent 42represented by a number. Traditionally, each set of numbers used to represent
43alphabets and characters (known as a coding system, encoding or character set) 43alphabets and characters (known as a coding system, encoding or character set)
44was limited in size due to limitations in computer hardware. 44was limited in size due to limitations in computer hardware.
45</p> 45</p>
46 46
47</body> 47</body>
430</pre> 430</pre>
431 431
432</body> 432</body>
433</section> 433</section>
434<section> 434<section>
435<title>Ncurses and Slang</title> 435<title>Ncurses and Slang</title>
436<body> 436<body>
437 437
438<note> 438<note>
439Ignore any mention of Slang in this section if you do not have it installed or 439Ignore any mention of Slang in this section if you do not have it installed or
440do not use it. 440do not use it.
441</note> 441</note>
442 442
443<p> 443<p>
444It is wise to add <c>unicode</c> to your global USE flags in 444It is wise to add <c>unicode</c> to your global USE flags in
445<path>/etc/make.conf</path>, and then to remerge <c>sys-libs/ncurses</c> and 445<path>/etc/portage/make.conf</path>, and then to remerge <c>sys-libs/ncurses</c> and
446<c>sys-libs/slang</c> if appropriate. Portage will do this automatically when 446<c>sys-libs/slang</c> if appropriate. Portage will do this automatically when
447you update your system: 447you update your system:
448</p> 448</p>
449 449
450<pre caption="Updating your system"> 450<pre caption="Updating your system">
451# <i>emerge --update --deep --newuse world</i> 451# <i>emerge --update --deep --newuse world</i>
452</pre> 452</pre>
453 453
454<p> 454<p>
455We also need to rebuild packages that link to these, now the USE changes have 455We also need to rebuild packages that link to these, now the USE changes have
456been applied. The tool we use (<c>revdep-rebuild</c>) is part of the 456been applied. The tool we use (<c>revdep-rebuild</c>) is part of the
457<c>gentoolkit</c> package. 457<c>gentoolkit</c> package.
458</p> 458</p>
459 459
460<pre caption="Rebuilding of programs that link to ncurses or slang"> 460<pre caption="Rebuilding of programs that link to ncurses or slang">

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20