/[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.33 Revision 1.34
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.33 2005/08/05 12:58:11 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.34 2005/11/17 16:36:57 neysx 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.13</version> 28<version>2.14</version>
29<date>2005-08-05</date> 29<date>2005-11-17</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>
524<section> 524<section>
525<title>Window Managers and Terminal Emulators</title> 525<title>Window Managers and Terminal Emulators</title>
526<body> 526<body>
527 527
528<p> 528<p>
529Window managers not built on GTK or Qt generally have very good Unicode 529Window managers not built on GTK or Qt generally have very good Unicode
530support, as they often use the Xft library for handling fonts. If your window 530support, as they often use the Xft library for handling fonts. If your window
531manager does not use Xft for fonts, you can still use the FontSpec mentioned in 531manager does not use Xft for fonts, you can still use the FontSpec mentioned in
532the previous section as a Unicode font. 532the previous section as a Unicode font.
533</p> 533</p>
534 534
535<p> 535<p>
536Terminal emulators that use Xft and support Unicode are harder to come by. 536Terminal emulators that use Xft and support Unicode are harder to come by.
537Aside from Konsole and gnome-terminal, the best options in Portage are 537Aside from Konsole and gnome-terminal, the best options in Portage are
538<c>x11-terms/rxvt-unicode</c>, <c>xfce-extra/terminal</c>, 538<c>x11-terms/rxvt-unicode</c>, <c>xfce-extra/terminal</c>,
539<c>gnustep-apps/terminal</c>, <c>x11-terms/mlterm</c>, <c>x11-terms/mrxvt</c> or 539<c>gnustep-apps/terminal</c>, <c>x11-terms/mlterm</c>, or plain
540plain <c>x11-terms/xterm</c> when built with the <c>unicode</c> USE flag and 540<c>x11-terms/xterm</c> when built with the <c>unicode</c> USE flag and invoked
541invoked as <c>uxterm</c>. <c>app-misc/screen</c> supports UTF-8 too, when 541as <c>uxterm</c>. <c>app-misc/screen</c> supports UTF-8 too, when invoked as
542invoked as <c>screen -u</c> or the following is put into the 542<c>screen -u</c> or the following is put into the <path>~/.screenrc</path>:
543<path>~/.screenrc</path>:
544</p> 543</p>
545 544
546<pre caption="~/.screenrc for UTF-8"> 545<pre caption="~/.screenrc for UTF-8">
547defutf8 on 546defutf8 on
548</pre> 547</pre>
549 548
550</body> 549</body>
551</section> 550</section>
552<section> 551<section>
553<title>Vim, Emacs, Xemacs and Nano</title> 552<title>Vim, Emacs, Xemacs and Nano</title>
554<body> 553<body>
555 554
556<p> 555<p>
557Vim provides full UTF-8 support, and also has builtin detection of UTF-8 files. 556Vim provides full UTF-8 support, and also has builtin detection of UTF-8 files.
558For further information in Vim, use <c>:help mbyte.txt</c>. 557For further information in Vim, use <c>:help mbyte.txt</c>.

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20