Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost Euro-Symbol on console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
benny1967
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 224

PostPosted: Wed Jan 10, 2007 8:13 pm    Post subject: Lost Euro-Symbol on console Reply with quote

I switched to from ISO-8859-15 to UTF-8 a few months ago and remember I tested everything then, both X and console, and it worked.

Only by chance I found out that now I can no longer type the Euro-Symbol on the console. What appears instead is the generic curreny symbol ¤

The files that might be relevant are

Quote:
# /etc/conf.d/consolefont

CONSOLEFONT="ter-v16b"

CONSOLETRANSLATION="8859-15_to_uni"




Quote:
# /etc/conf.d/keymaps
KEYMAP="de-latin1"

SET_WINDOWKEYS="yes"

EXTENDED_KEYMAPS=""
# EXTENDED_KEYMAPS="backspace keypad euro" (tried to uncomment this, no effect)

DUMPKEYS_CHARSET=""


Quote:
# /etc/rc.conf:

UNICODE="yes"


Is there anything I'm missing?

(Ah, yes: Dead Keys don't give the expected results either. `and a doesn't give à, not even a, it simply does nothing. The following keystroke then makes a simple a appear and then whatever letter I pressed.)


Last edited by benny1967 on Mon Jan 15, 2007 6:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
zeonglow
n00b
n00b


Joined: 11 Sep 2006
Posts: 51
Location: /dev/zero

PostPosted: Wed Jan 10, 2007 9:20 pm    Post subject: Reply with quote

What do you get from typing
Code:
locale
?

Is it a euro version of the locale ?
de_DE@euro
or example.
_________________
'They say great science is built on the shoulders of giants - not here. At Aperture we do all our science from scratch; no hand holding.' - Cave Johnson, CEO Aperture Science. (Portal 2)
Back to top
View user's profile Send private message
benny1967
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 224

PostPosted: Wed Jan 10, 2007 10:02 pm    Post subject: Reply with quote

I'll check when I'm back at this PC, but I think it's de_AT.utf8, IIRC.
Back to top
View user's profile Send private message
zeonglow
n00b
n00b


Joined: 11 Sep 2006
Posts: 51
Location: /dev/zero

PostPosted: Thu Jan 11, 2007 8:10 pm    Post subject: Reply with quote

try using the @euro version.

mine is set to en_GB.UTF8 I can't see the euro character unless I use a Chinese font !!
long live the pound £££ ;-)
_________________
'They say great science is built on the shoulders of giants - not here. At Aperture we do all our science from scratch; no hand holding.' - Cave Johnson, CEO Aperture Science. (Portal 2)
Back to top
View user's profile Send private message
benny1967
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 224

PostPosted: Thu Jan 11, 2007 10:55 pm    Post subject: Reply with quote

I checked, it is de_AT.utf8.

zeonglow wrote:
try using the @euro version.


Oh my dear... And little me thought I'd finally understood all this crap. Seems I didn't.
I tought that before I switched to unicode I needed de_AT@euro (thats what I had), and now I have the .utf8 instead of the @euro. (I even recall reading somewhere that there is no such thing as a de_AT.utf8@euro-locale)

In fact, locale -a doesn't list de_AT.utf8@euro as a valid option.

zeonglow wrote:
mine is set to en_GB.UTF8 I can't see the euro character unless I use a Chinese font !!
long live the pound £££ ;-)

I'll never forget my holidays in Cornwall... We needed to go to the bank machine more often than to the toilet because it's so expensive there. We had lots and lots of £ - but only for a very short time. :)
Back to top
View user's profile Send private message
benny1967
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 224

PostPosted: Mon Jan 15, 2007 6:09 pm    Post subject: Reply with quote

Fixed part of it by changing the consolefont from ter-v16b to lat9w-16 - which is strange because the terminus fonts are being advertised everywhere for their great unicode support...?

Btw, these are

a) output of locale -a
Quote:
C
de_AT
de_AT@euro
de_AT.utf8
de_DE
de_DE@euro
de_DE.utf8
en_HK
en_PH
en_US
en_US.utf8
es_MX
fa_IR
fr_FR
fr_FR@euro
it_IT
ja_JP
ja_JP.eucjp
ja_JP.utf8
POSIX
tr_TR
tr_TR.utf8


b) output of locale
Quote:
LANG=de_AT.utf8
LC_CTYPE="de_AT.utf8"
LC_NUMERIC="de_AT.utf8"
LC_TIME="de_AT.utf8"
LC_COLLATE="de_AT.utf8"
LC_MONETARY="de_AT.utf8"
LC_MESSAGES="de_AT.utf8"
LC_PAPER="de_AT.utf8"
LC_NAME="de_AT.utf8"
LC_ADDRESS="de_AT.utf8"
LC_TELEPHONE="de_AT.utf8"
LC_MEASUREMENT="de_AT.utf8"
LC_IDENTIFICATION="de_AT.utf8"
LC_ALL=de_AT.utf8


c) and, very surprising, /etc/locale.gen:
Quote:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
de_DE.UTF-8 UTF-8
de_AT ISO-8859-1
de_AT@euro ISO-8859-15
de_AT.UTF-8 UTF-8
tr_TR ISO-8859-9
tr_TR.UTF-8 UTF-8
ja_JP.EUC-JP EUC-JP
ja_JP.UTF-8 UTF-8
ja_JP EUC-JP
en_HK ISO-8859-1
en_PH ISO-8859-1
es_MX ISO-8859-1
fa_IR UTF-8
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
it_IT ISO-8859-1


The reason I find the last one surprising is because it lists unicode-locales as "*.UTF-8", whereas locale -a lists them as "*.utf8" - is this relevant? If they are built as told in /etc/locale.gen, why do they have a different name afterwards? (There's talk about this latter question in the wiki, but they dont come to a conclusion there)
Back to top
View user's profile Send private message
zeonglow
n00b
n00b


Joined: 11 Sep 2006
Posts: 51
Location: /dev/zero

PostPosted: Thu Jan 18, 2007 9:11 pm    Post subject: Reply with quote

I have still to learn how to do pinyin tone marks correctly. I took me ages to figure out how to get Chinese input to work. Then my computer broke, and I forgot. :-(
If you could post the link to any useful stuff you find, I'd appreciate it.
_________________
'They say great science is built on the shoulders of giants - not here. At Aperture we do all our science from scratch; no hand holding.' - Cave Johnson, CEO Aperture Science. (Portal 2)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum