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
/usr/share/doc/HOWTO/en-txt/Keyboard-and-Console-HOWTO.txt.gz
if
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
/usr/share/doc/euro-support/examples/characters
, just
cat the file and see if they get printed to the screen correctly.
Yes you can, (from the FrameBuffer-HOWTO
)
you just need to use the kbd package version 0.99 or later.
The 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.
In Debian woody 3.0 (which provides xfree86-common
version
4.1.0-16) most xkb layouts include the Euro sign [1] but if you suffer this issue then
file a wishlist bug
against
the xlibs
package.
Move towards UTF-8 encoding and separation of localisation and representation (no more XX_XX.ISO-8859-X).
Debian Euro HOWTO
[email protected]