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.
FIX: Run (as superuser) /etc/init.d/console-screen reload (if
console-tools is installed), or run setfont -u (if
kbd is installed).
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
you have the
doc-linux package) elaborates a little bit on this.
(Console terminal) You should see 'currency' when doing:
$ dumpkeys |grep -i currency
(X graphic environment) You should see 'currency' when doing:
$ xmodmap -pke | grep -i EuroSign
If using ISO-8859-15:
$ printf "\xa4\n"
If using UTF-8:
$ printf "\xe2\x82\xac\n"
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.
euro-support includes a representation of these in
cat the file and see if they get printed to the screen correctly.
Yes you can, (from the
you just need to use the kbd package version 0.99 or later.
euro-test program will input the proper keycodes to input the
euro character using
xmodmap. 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.
Move towards UTF-8 encoding and separation of localisation and representation (no more XX_XX.ISO-8859-X).
Debian Euro HOWTO (Obsolete Documentation)version 1.2, june 4th 2003.