/[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.24 Revision 1.25
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.24 2005/06/23 21:41:56 smithj Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.25 2005/06/23 21:56:18 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.4</version> 28<version>2.5</version>
29<date>2005-06-23</date> 29<date>2005-06-23</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
595</p> 595</p>
596 596
597<pre caption="~/.muttrc for UTF-8"> 597<pre caption="~/.muttrc for UTF-8">
598set send_charset="utf8" <comment>(outgoing character set)</comment> 598set send_charset="utf8" <comment>(outgoing character set)</comment>
599set charset="utf8" <comment>(display character set)</comment> 599set charset="utf8" <comment>(display character set)</comment>
600</pre> 600</pre>
601 601
602<note> 602<note>
603You may still see '?' in mail you read with Mutt. This is a result of people 603You may still see '?' in mail you read with Mutt. This is a result of people
604using a mail client which does not indicate the used charset. You can't do much 604using a mail client which does not indicate the used charset. You can't do much
605about this than to ask them to configure their client correctly. 605about this than to ask them to configure their client correctly.
606</note> 606</note>
607 607
608<p> 608<p>
609Further information is available from the <uri 609Further information is available from the <uri
610link="http://wiki.mutt.org/index.cgi?MuttFaq/Charset"> Mutt Wiki</uri>. 610link="http://wiki.mutt.org/index.cgi?MuttFaq/Charset">Mutt Wiki</uri>.
611</p> 611</p>
612 612
613</body> 613</body>
614</section> 614</section>
615<section> 615<section>
616<title>Less</title> 616<title>Less</title>
617<body> 617<body>
618 618
619<p> 619<p>
620We all use a lot of <c>more</c> or <c>less</c> along with the <c>|</c> to be 620We all use a lot of <c>more</c> or <c>less</c> along with the <c>|</c> to be
621able to correctly see the output of a command, like for example 621able to correctly see the output of a command, like for example
622<c>dmesg | less</c>. While <c>more</c> only needs the shell to be UTF-8 aware, 622<c>dmesg | less</c>. While <c>more</c> only needs the shell to be UTF-8 aware,
623<c>less</c> needs an environment variable set, <c>LESSCHARSET</c> to ensure 623<c>less</c> needs an environment variable set, <c>LESSCHARSET</c> to ensure
624that unicode characters are rendered correctly. This can be set in 624that unicode characters are rendered correctly. This can be set in
625<path>/etc/profile</path> or <path>~/.bash_profile</path>. Fire up the editor 625<path>/etc/profile</path> or <path>~/.bash_profile</path>. Fire up the editor

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

  ViewVC Help
Powered by ViewVC 1.1.20