old-www/LDP/www.debian.org/doc/manuals/debian-euro-support/ch-intro.en.html

398 lines
14 KiB
HTML
Raw Permalink Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Debian Euro HOWTO (Obsolete Documentation) - Introduction</title>
<link href="index.en.html" rel="start">
<link href="index.en.html" rel="prev">
<link href="ch-auto-config.en.html" rel="next">
<link href="index.en.html#contents" rel="contents">
<link href="index.en.html#copyright" rel="copyright">
<link href="ch-intro.en.html" rel="chapter" title="1 Introduction">
<link href="ch-auto-config.en.html" rel="chapter" title="2 Automatic configuration">
<link href="ch-configure.en.html" rel="chapter" title="3 Configuring euro support">
<link href="ch-applications.en.html" rel="chapter" title="4 Euro support in applications">
<link href="ch-FAQ.en.html" rel="chapter" title="5 Frequently Asked Questions">
<link href="ch-about.en.html" rel="chapter" title="6 About this document">
<link href="ap-latex-enc.en.html" rel="appendix" title="A File definitions for LaTeX">
<link href="ch-intro.en.html#s1.1" rel="section" title="1.1 Why euro support?">
<link href="ch-intro.en.html#s1.2" rel="section" title="1.2 What is the euro symbol?">
<link href="ch-intro.en.html#s1.3" rel="section" title="1.3 Why all this fuss for just one character?">
<link href="ch-intro.en.html#s1.4" rel="section" title="1.4 Standards">
<link href="ch-intro.en.html#s1.5" rel="section" title="1.5 Is Debian euro-ready?">
<link href="ch-auto-config.en.html#s2.1" rel="section" title="2.1 The language-env package">
<link href="ch-auto-config.en.html#s2.2" rel="section" title="2.2 The euro-support package">
<link href="ch-auto-config.en.html#s2.3" rel="section" title="2.3 The user-euro-XXX packages">
<link href="ch-configure.en.html#s3.1" rel="section" title="3.1 Initial considerations">
<link href="ch-configure.en.html#s-localisation" rel="section" title="3.2 Localisation issues">
<link href="ch-configure.en.html#s3.3" rel="section" title="3.3 Configuring the Console">
<link href="ch-configure.en.html#s3.4" rel="section" title="3.4 Configuring the X environment">
<link href="ch-applications.en.html#s4.1" rel="section" title="4.1 Why talk about applications?">
<link href="ch-applications.en.html#s4.2" rel="section" title="4.2 Applications with known euro support">
<link href="ch-applications.en.html#s4.3" rel="section" title="4.3 Applications that do not support the euro character">
<link href="ch-FAQ.en.html#s5.1" rel="section" title="5.1 I see a strange character instead of the euro">
<link href="ch-FAQ.en.html#s5.2" rel="section" title="5.2 The euro character gets lost when switching from X to console">
<link href="ch-FAQ.en.html#s5.3" rel="section" title="5.3 How do I see if my keyboard is properly configured?">
<link href="ch-FAQ.en.html#s5.4" rel="section" title="5.4 How do I see if I can represent euros properly?">
<link href="ch-FAQ.en.html#s5.5" rel="section" title="5.5 I'm using framebuffer, can I represent euros on console?">
<link href="ch-FAQ.en.html#s5.6" rel="section" title="5.6 I can input the euro character when running 'euro-test' but this behaviour is lost when X is restarted.">
<link href="ch-FAQ.en.html#s5.7" rel="section" title="5.7 What is the longterm solution for this issue?">
<link href="ch-about.en.html#s6.1" rel="section" title="6.1 Why this document?">
<link href="ch-about.en.html#s-references" rel="section" title="6.2 References">
<link href="ch-about.en.html#s6.3" rel="section" title="6.3 Changelog/History">
<link href="ch-about.en.html#s-pending" rel="section" title="6.4 Pending issues">
<link href="ch-about.en.html#s-acknowledge" rel="section" title="6.5 Acknowledgements">
<link href="ap-latex-enc.en.html#sA.1" rel="section" title="A.1 Latin9.def">
<link href="ap-latex-enc.en.html#sA.2" rel="section" title="A.2 latin10.def">
<link href="ch-auto-config.en.html#s2.2.1" rel="subsection" title="2.2.1 The euro-test program">
<link href="ch-configure.en.html#s3.2.1" rel="subsection" title="3.2.1 Locales in Debian 3.0">
<link href="ch-configure.en.html#s3.2.2" rel="subsection" title="3.2.2 Locales in Debian 2.2">
<link href="ch-configure.en.html#s3.3.1" rel="subsection" title="3.3.1 Configuring the console keyboard">
<link href="ch-configure.en.html#s3.3.2" rel="subsection" title="3.3.2 How the keyboard is loaded in Debian">
<link href="ch-configure.en.html#s3.3.3" rel="subsection" title="3.3.3 Configuring the console fonts">
<link href="ch-configure.en.html#s3.4.1" rel="subsection" title="3.4.1 Keyboard configuration">
<link href="ch-configure.en.html#s3.4.1.1" rel="subsection" title="3.4.1.1 Xfree in Debian 3.0">
<link href="ch-configure.en.html#s3.4.1.2" rel="subsection" title="3.4.1.2 Xfree in Debian 2.2">
<link href="ch-configure.en.html#s-xfree86-fonts" rel="subsection" title="3.4.2 Font configuration">
<link href="ch-configure.en.html#s-potato" rel="subsection" title="3.4.2.1 Potato, XFree86 3.X">
<link href="ch-applications.en.html#s4.2.1" rel="subsection" title="4.2.1 XTerm and its derivatives">
<link href="ch-applications.en.html#s4.2.2" rel="subsection" title="4.2.2 GNOME Terminal">
<link href="ch-applications.en.html#s4.2.3" rel="subsection" title="4.2.3 RXVT and its derivatives">
<link href="ch-applications.en.html#s4.2.4" rel="subsection" title="4.2.4 Eterm">
<link href="ch-applications.en.html#s4.2.5" rel="subsection" title="4.2.5 gVim">
<link href="ch-applications.en.html#s4.2.6" rel="subsection" title="4.2.6 Emacs, XEmacs">
<link href="ch-applications.en.html#s4.2.7" rel="subsection" title="4.2.7 GNOME and GTK+">
<link href="ch-applications.en.html#s4.2.8" rel="subsection" title="4.2.8 KDE">
<link href="ch-applications.en.html#s4.2.9" rel="subsection" title="4.2.9 Apache">
<link href="ch-applications.en.html#s4.2.9.1" rel="subsection" title="4.2.9.1 Apache">
<link href="ch-applications.en.html#s4.2.10" rel="subsection" title="4.2.10 Mutt">
<link href="ch-applications.en.html#s4.2.11" rel="subsection" title="4.2.11 LaTeX">
<link href="ch-applications.en.html#s4.2.12" rel="subsection" title="4.2.12 Kword">
<link href="ch-applications.en.html#s4.2.13" rel="subsection" title="4.2.13 LyX">
<link href="ch-applications.en.html#s4.2.14" rel="subsection" title="4.2.14 groff (nroff, troff, grotty)">
<link href="ch-applications.en.html#s4.2.15" rel="subsection" title="4.2.15 Debiandoc-sgml">
<link href="ch-applications.en.html#s4.2.16" rel="subsection" title="4.2.16 Tgif">
<link href="ch-applications.en.html#s4.2.17" rel="subsection" title="4.2.17 Perl">
</head>
<body>
<p><a name="ch-intro"></a></p>
<hr>
<p>
[ <a href="index.en.html">previous</a> ]
[ <a href="index.en.html#contents">Contents</a> ]
[ 1 ]
[ <a href="ch-auto-config.en.html">2</a> ]
[ <a href="ch-configure.en.html">3</a> ]
[ <a href="ch-applications.en.html">4</a> ]
[ <a href="ch-FAQ.en.html">5</a> ]
[ <a href="ch-about.en.html">6</a> ]
[ <a href="ap-latex-enc.en.html">A</a> ]
[ <a href="ch-auto-config.en.html">next</a> ]
</p>
<hr>
<h1>
Debian Euro HOWTO (Obsolete Documentation)
<br>Chapter 1 - Introduction
</h1>
<hr>
<h2><a name="s1.1"></a>1.1 Why euro support?</h2>
<p>
As of January 1st 2002, twelve European Union countries, and several others,
are starting to use the <strong>euro</strong> as the only official currency.
Thus, all the prices will be shown in euros and all the monetary transactions
will use it. Euro is expected to become a common currency throughout Europe
and even some other continents.
</p>
<p>
Computers, of course, need to correctly represent the euro in order for users
to make their own documents (invoices, spreadsheets or whatever) using this
currency, and read others' documents that use it. As the <code><a
href="http://europa.eu.int/euro/">European Comission guidelines</a></code>
state, operating systems need to be ready to represent this character.
</p>
<p>
The euro is a currency but also the name of a symbol. Since the Unicode
Standard 2.1 version (dated 1998) the EURO SIGN is added, so it's also an
Unicode character that can be represented (interpreted) with different glyphs
(different fonts can change height or width).
</p>
<hr>
<h2><a name="s1.2"></a>1.2 What is the euro symbol?</h2>
<p>
The euro symbol resembles the letter &quot;e&quot; -- it looks like a 'c' with
two parallel horizontal lines that go through the middle of it. Some of the
people will understand it better if we say it looks like the Quake symbol
rotated 90 degrees clockwise :-)
</p>
<p>
The symbol is inspired by the Greek letter epsilon and also denotes the first
letter of the word &quot;Europe&quot;. The two parallel lines are meant to
refer to the stability inside the euro area.
</p>
<p>
The official (ISO-compliant) abbreviature for the euro is EUR and can be used
as representation for the currency.
</p>
<hr>
<h2><a name="s1.3"></a>1.3 Why all this fuss for just one character?</h2>
<p>
The problem is that changing the character involves a change in the font map
used by the user. The font map is the list of character representations used
by the system. Currently, most users in the euro-zone use the latin1 font map.
The font map, however, is limited to 256 characters. The euro character is
introduced by removing another character from the font map and calling this
replacement a new font map. Latin9 (ISO-8859-15 or codepage 924 for IBM,
usually shortened to latin0) replaces Latin1 (ISO-8859-1), and Latin10
(ISO-8859-16) replaces Latin2 (however Czech is not fully covered in Latin10 so
it's not a full replacement, and it does cover Romanian which Latin2 didn't).
Keep in mind that the font map is limited to 256 characters (see
<code>charsets(7)</code>)
</p>
<p>
Latin9 differs from Latin1 in eight positions:
</p>
<ul>
<li>
<p>
0xA4 (U+20AC): EURO SIGN,
</p>
</li>
</ul>
<ul>
<li>
<p>
0xA6 (U+0160): LATIN CAPITAL LETTER S WITH CARON,
</p>
</li>
</ul>
<ul>
<li>
<p>
0xA8 (U+0161): LATIN SMALL LETTER S WITH CARON,
</p>
</li>
</ul>
<ul>
<li>
<p>
0xB4 (U+017D): LATIN CAPITAL LETTER Z WITH CARON,
</p>
</li>
</ul>
<ul>
<li>
<p>
0xB8 (U+017E): LATIN SMALL LETTER Z WITH CARON,
</p>
</li>
</ul>
<ul>
<li>
<p>
0xBC (U+0152): LATIN CAPITAL LIGATURE OE,
</p>
</li>
</ul>
<ul>
<li>
<p>
0xBD (U+0153): LATIN SMALL LIGATURE OE
</p>
</li>
</ul>
<ul>
<li>
<p>
0xBE (U+0178): LATIN CAPITAL LETTER Y WITH DIAERESIS.
</p>
</li>
</ul>
<p>
Of course, users already using UTF-8 fonts are not affected by this problem
since unicode is a superset of all ISO 8859 sets plus the characters required
to represent practically all known languages (see <code>unicode(7)</code>).
However, Unicode support is currently far from complete. For more information
read <code><a
href="ftp://ftp.ilog.fr/pub/Users/haible/utf8/Unicode-HOWTO.html">The Unicode
HOWTO</a></code> and/or <code><a
href="http://www.cs.usyd.edu.au/~matty/">Unicode in X-Windows</a></code>.
</p>
<hr>
<h2><a name="s1.4"></a>1.4 Standards</h2>
<p>
The euro definition is part of some <code><a
href="http://www.isoc.org/">ISO</a></code> standards:
</p>
<ul>
<li>
<p>
The EUR currency code (numeric code 978) is a part of the ISO-4217 standard.
</p>
</li>
</ul>
<ul>
<li>
<p>
For 8-bit systems, the ISO/IEC defines the new charset 8859-15 (also known as
latin 9) and 8859-16 (also known as latin 10) where the euro symbol replaces
the international currency symbol in the position 164 (hex A4).
</p>
</li>
</ul>
<ul>
<li>
<p>
The <code><a href="http://www.unicode.org/">Unicode</a></code> system uses a 16
bit symbol, the euro has been assigned 8364 (hex 20AC) as part of
ISO/IEC-10646-1
</p>
</li>
</ul>
<ul>
<li>
<p>
The screen representation (font) for the euro is part of the ISO/IEC-10036
standard. The glyph is the real representation (bit pattern) of the character.
The euro is assigned the 8059 glyph.
</p>
</li>
</ul>
<ul>
<li>
<p>
The World Wide Web Consortium uses &amp;euro; as the representation for the
symbol in HTML 4.0 (See <code><a
href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.4.1">http://www.w3.org/TR/html4/sgml/entities.html#h-24.4.1</a></code>)
</p>
</li>
</ul>
<p>
The European Comission has published in its <code><a
href="http://europa.eu.int/euro/">official recommendations</a></code> both
short term and long term fixes for the euro character. The short term solution
is fixed by having keyboards input the euro character through the AltGr+E
combination (AltGr is the 'Alt' key to the right of the spacebar), the long
term solution considers using a new key for the euro character. Most keyboard
manufacturers have only implemented the short-term solution by including a euro
representation under the 'E' key. The operating system must take this input
and convert it into the euro symbol internally. However:
</p>
<ul>
<li>
<p>
The international US keyboard and the greek latin use AltGr+5 and Ctrl+Alt+5
for euro representation.
</p>
</li>
</ul>
<ul>
<li>
<p>
The greek keyboard uses AltGr+? for euro representation.
</p>
</li>
</ul>
<ul>
<li>
<p>
The english and irish keyboards use the combinations AltGr+4 and Ctrl+Alt+4
</p>
</li>
</ul>
<ul>
<li>
<p>
The hungarian and polish keyboards use the AltGr+U combination.
</p>
</li>
</ul>
<p>
In this document, however, most examples will assume that the euro symbol will
be generated by typing AltGr+E (the <samp>euro-test</samp> program assumes this
too).
</p>
<hr>
<h2><a name="s1.5"></a>1.5 Is Debian euro-ready?</h2>
<p>
The Debian operating system can be properly configured to show the euro
character, both in console and in the X windowing system since the 2000 release
Debian 2.2 (aka 'potato'). However, many users have not properly configured
that support since then, and there are some caveats in configuration that have
not been completely fixed until Debian 3.0.
</p>
<p>
In any case, some problems might arise from programs defaulting to ISO-8859-1
or even ASCII-US, and some even can't be configured properly to use ISO-8859-15
(bug reports through the <code><a href="http://bugs.debian.org/">Bug Tracking
System</a></code> should/will be filed against them).
</p>
<hr>
<p>
[ <a href="index.en.html">previous</a> ]
[ <a href="index.en.html#contents">Contents</a> ]
[ 1 ]
[ <a href="ch-auto-config.en.html">2</a> ]
[ <a href="ch-configure.en.html">3</a> ]
[ <a href="ch-applications.en.html">4</a> ]
[ <a href="ch-FAQ.en.html">5</a> ]
[ <a href="ch-about.en.html">6</a> ]
[ <a href="ap-latex-enc.en.html">A</a> ]
[ <a href="ch-auto-config.en.html">next</a> ]
</p>
<hr>
<p>
Debian Euro HOWTO (Obsolete Documentation)
</p>
<address>
version 1.2, june 4th 2003.<br>
<br>
Javier Fern<72>ndez-Sanguino Pe<50>a <code><a href="mailto:jfs@computer.org">jfs@computer.org</a></code><br>
<br>
</address>
<hr>
</body>
</html>