Bug 127265

Summary: keymaps use "currency" instead of "euro"
Product: [Fedora] Fedora Reporter: Jarkko <jval>
Component: kbdAssignee: Miloslav Trmač <mitr>
Status: CLOSED UPSTREAM QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: nicolas.mailhot
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-18 22:30:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jarkko 2004-07-05 13:22:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
Font latarcyrheb-sun16 is missing euro character. If I set up UTF-8 
(the default) in /etc/sysconfig/i18n, I can't use euro at console 
because it is missing in latarcyrheb-sun16.

(Sorry, if I chose the wrong conponent for this one.)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Set up UTF-8 and latarcyrheb-sun16 as sysfont (this is the default)
2. go to console
3. try to write ⬠(euro)
    

Actual Results:  I got the global currency symbol, not euro.

Expected Results:  ⬠(euro)

Additional info:

Comment 1 Jakub Jelinek 2004-07-06 21:51:27 UTC
It has EURO SIGN character, but not EURO-CURRENCY SIGN:
zcat /lib/kbd/consolefonts/latarcyrheb-sun16.psfu.gz | psfgettable - | grep 20a
0x0ad   U+20ac
zcat /usr/share/i18n/charmaps/UTF-8.gz | grep EURO
<U20A0>     /xe2/x82/xa0 EURO-CURRENCY SIGN
<U20AC>     /xe2/x82/xac EURO SIGN
No idea why Unicode has two of these.
Try:
zcat /lib/kbd/consolefonts/latarcyrheb-sun16.psfu.gz > /tmp/latarcyrheb-sun16.psfu; psfgettable /tmp/latarcyrheb-sun16.psfu | sed 's/U+20ac$/& U+20a0/' > /tmp/latarcyrheb-sun16.utbl; psfstriptable /tmp/latarcyrheb-sun16.psfu /tmp/latarcyrheb-sun16.psf; psfaddtable /tmp/latarcyrheb-sun16.psf /tmp/latarcyrheb-sun16.utbl /tmp/latarcyrheb-sun16.psfu; gzip -9 /tmp/latarcyrheb-sun16.psfu
and as root mv -f /lib/kbd/consolefonts/latarcyrheb-sun16{,-old}.psfu.gz
cp {/tmp,/lib/kbd/consolefonts}latarcyrheb-sun16.psfu.gz

Comment 2 Eido Inoue 2004-07-06 21:56:21 UTC
comment 1: the "Euro-currency sign" is not the real euro sign. it is a
historical character and should never be used

The euro is actually in the font... this can be seen by dumping the
font. The problem is that the Euro is mapped to the wrong Unicode code
point.

Comment 3 Eido Inoue 2004-08-10 23:14:25 UTC
*** Bug 75316 has been marked as a duplicate of this bug. ***

Comment 4 Miloslav Trmač 2005-02-18 22:30:50 UTC
I have sent a patch replacing "currency" by "euro" in most maps upstream;
we will get the change if/when it is accepted there.

Thanks for your report.