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

260 lines
11 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) - Frequently Asked Questions</title>
<link href="index.en.html" rel="start">
<link href="ch-applications.en.html" rel="prev">
<link href="ch-about.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-FAQ"></a></p>
<hr>
<p>
[ <a href="ch-applications.en.html">previous</a> ]
[ <a href="index.en.html#contents">Contents</a> ]
[ <a href="ch-intro.en.html">1</a> ]
[ <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> ]
[ 5 ]
[ <a href="ch-about.en.html">6</a> ]
[ <a href="ap-latex-enc.en.html">A</a> ]
[ <a href="ch-about.en.html">next</a> ]
</p>
<hr>
<h1>
Debian Euro HOWTO (Obsolete Documentation)
<br>Chapter 5 - Frequently Asked Questions
</h1>
<hr>
<h2><a name="s5.1"></a>5.1 I see a strange character instead of the euro</h2>
<p>
If you are seeing a character that seems to be a circle with four lines
streching out of it (the international symbol for currency) and not the euro
symbol then the font you are using does not properly represent euros but your
keyboard is sending it properly. Please check your environment/applications in
order to see that you are using ISO-8859-15 fonts and not ISO-8859-1.
</p>
<hr>
<h2><a name="s5.2"></a>5.2 The euro character gets lost when switching from X to console</h2>
<p>
FIX: Run (as superuser) <samp>/etc/init.d/console-screen reload</samp> (if
<code>console-tools</code> is installed), or run <samp>setfont -u</samp> (if
<code>kbd</code> is installed).
</p>
<p>
REASON: There are fonts with an unicode map in the .psf file and others that do
not include it. If these last ones are used the Linux kernel unicode map
resets and when you return from an X virtual terminal the map is garbled. The
Keyboard and Console HOWTO (available at
<code>/usr/share/doc/HOWTO/en-txt/Keyboard-and-Console-HOWTO.txt.gz</code> if
you have the <code>doc-linux</code> package) elaborates a little bit on this.
</p>
<hr>
<h2><a name="s5.3"></a>5.3 How do I see if my keyboard is properly configured?</h2>
<p>
(Console terminal) You should see 'currency' when doing:
</p>
<pre>
$ dumpkeys |grep -i currency
</pre>
<p>
(X graphic environment) You should see 'currency' when doing:
</p>
<pre>
$ xmodmap -pke | grep -i EuroSign
</pre>
<hr>
<h2><a name="s5.4"></a>5.4 How do I see if I can represent euros properly?</h2>
<p>
If using ISO-8859-15:
</p>
<pre>
$ printf &quot;\xa4\n&quot;
</pre>
<p>
If using UTF-8:
</p>
<pre>
$ printf &quot;\xe2\x82\xac\n&quot;
</pre>
<p>
Of course, you can also see if the characters euro and cent are represented
correctly by taking a look at a document that includes them.
<code>euro-support</code> includes a representation of these in
<code>/usr/share/doc/euro-support/examples/characters</code>, just
<samp>cat</samp> the file and see if they get printed to the screen correctly.
</p>
<hr>
<h2><a name="s5.5"></a>5.5 I'm using framebuffer, can I represent euros on console?</h2>
<p>
Yes you can, (from the <code><a
href="http://www.linuxdoc.org/HOWTO/Framebuffer-HOWTO.html#toc15">FrameBuffer-HOWTO</a></code>)
you just need to use the kbd package version 0.99 or later.
</p>
<hr>
<h2><a name="s5.6"></a>5.6 I can input the euro character when running 'euro-test' but this behaviour is lost when X is restarted.</h2>
<p>
The <code>euro-test</code> program will input the proper keycodes to input the
euro character using <code>xmodmap</code>. If you are able to use the keyboard
combination to input the Euro character after using the program but cannot do
it once you restart the X server, then the problem is that your default
keyboard definitions are not properly setup.
</p>
<p>
In Debian woody 3.0 (which provides <code>xfree86-common</code> version
4.1.0-16) most xkb layouts include the Euro sign [<a
href="footnotes.en.html#f1" name="fr1">1</a>] but if you suffer this issue then
file a <code><a href="http://bugs.debian.org/">wishlist bug</a></code> against
the <code>xlibs</code> package.
</p>
<hr>
<h2><a name="s5.7"></a>5.7 What is the longterm solution for this issue?</h2>
<p>
Move towards UTF-8 encoding and separation of localisation and representation
(no more XX_XX.ISO-8859-X).
</p>
<hr>
<p>
[ <a href="ch-applications.en.html">previous</a> ]
[ <a href="index.en.html#contents">Contents</a> ]
[ <a href="ch-intro.en.html">1</a> ]
[ <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> ]
[ 5 ]
[ <a href="ch-about.en.html">6</a> ]
[ <a href="ap-latex-enc.en.html">A</a> ]
[ <a href="ch-about.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>