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 the
console-tools
is installed), or run setfont -u (if
the 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.
Move towards UTF-8 encoding and separation of localisation and representation
(no more XX_XX.ISO-8859-X).
jfs@computer.org