Issue 2398 - Euro sign has stopped working
Summary: Euro sign has stopped working
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: 641
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: nospam4obr
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-03 09:57 UTC by Unknown
Modified: 2002-07-08 10:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-12-03 09:57:09 UTC
In 638c, the euro sign worked just fine. After setting LC_CTYPE to fi_FI@euro, I
was able to get the euro sign by pressing AltGr + e, which I perceive as the
correct (and the easiest) way to do it. However, after trying 641, this no
longer works, but I get that strange 'currency' symbol. (The O with spikes.)
Comment 1 Dieter.Loeschky 2001-12-03 15:40:55 UTC
DL->SBA: Please write a 6.0 final bug and send it to CP.
Comment 2 stefan.baltzer 2001-12-11 18:48:46 UTC
Internal ID = 95796. Reassigned to Herbert.
Comment 3 hdu@apache.org 2001-12-11 19:31:19 UTC
Input method?
Comment 4 hdu@apache.org 2001-12-14 12:55:49 UTC
Input Method?
Comment 5 Unknown 2001-12-14 13:10:41 UTC
Input method?
Do you mean to ask how XFree86 is configured, or what?
Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "Keyboard"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc102"
        Option      "XkbLayout" "fi"
        Option      "XkbOptions" "grp:shift_toggle"
EndSection


Comment 6 christof.pintaske 2001-12-17 13:39:30 UTC
Alexander, I need more information (works for me ...): Please start
"xev" and type AltGR-E in that window. I'm interested in the output of
xev as these keystrokes are concerned. 
What locale do you use (output of "locale" command) ? What font have
you tried (Please verify that the font contains the Euro symbol: have
a look at "Insert -> Special Character" dialog inside OOo). At which
position is the Euro symbol ?
Comment 7 Unknown 2001-12-17 15:23:20 UTC
$ locale
LANG=C
LC_CTYPE=fi_FI@euro
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY=fi_FI@euro
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

(have tried LC_ALL=fi_FI@euro with no success)

xev:
KeyPress event, serial 28, synthetic NO, window 0x2400001,
    root 0x3e, subw 0x0, time 3578636655, (89,763), root:(1126,786),
    state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 28, synthetic NO, window 0x2400001,
    root 0x3e, subw 0x0, time 3578638888, (89,763), root:(1126,786),
    state 0x2000, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 28, synthetic NO, window 0x2400001,
    root 0x3e, subw 0x0, time 3578639032, (89,763), root:(1126,786),
    state 0x2000, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 28, synthetic NO, window 0x2400001,
    root 0x3e, subw 0x0, time 3578645601, (89,763), root:(1126,786),
    state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch),
same_screen YES,
    XLookupString gives 0 characters:  ""

Insert->Special character works (under Currency symbols). Keycode: 0x020AC

Have tried most TrueType fonts by MS. These have been known to work
under 639 and Mozilla.

Comment 8 Unknown 2001-12-17 15:34:27 UTC
Oops... Replace 639 with 638c in last comment.
Comment 9 christof.pintaske 2002-02-06 11:41:45 UTC
Hi Alex,
seems all to be fine (and it works for me :-)
is it ok to e-mail you a library that is a little bit more verbose to
provide more insight what's going on ? The lib will be about 1.5MB
Comment 10 Unknown 2002-02-13 10:09:19 UTC
Hello Christof!
Go ahead. 
Comment 11 christof.pintaske 2002-02-13 10:27:18 UTC
too late ! The bug's already evaluated. It's a problem with detecting
the encoding of the locale correctly. If you can, please use a locale
like fi_FI.iso8859-15. If you can't please set the environment
variable SOLAR_USER_RTL_TEXTENCODING
for example add the following lines to your soffice start script:

    SOLAR_USER_RTL_TEXTENCODING=22
    export SOLAR_USER_RTL_TEXTENCODING

22 is the number for iso8859-15 encoding.

hth
Comment 12 christof.pintaske 2002-04-03 17:09:48 UTC
you already have the "peer" bug, please take care of this one, too.
Comment 13 nospam4obr 2002-04-10 08:38:27 UTC
Martin, isn't this a candidate for OOO_STABLE_1 ?
Comment 14 nospam4obr 2002-04-10 08:59:20 UTC
Added ooo1.0 keyword.
Comment 15 nospam4obr 2002-04-10 17:53:42 UTC
files changed: sal/osl/unx/nlsupport.c rev. 1.17
Comment 16 nospam4obr 2002-07-01 12:24:58 UTC
Alex, can you please verify that the fix works as expected in OOo 1.0 ?
I would like to mark this issue appropriatly.
Comment 17 Unknown 2002-07-08 09:57:07 UTC
Oliver, the euro sign works correctly for me in 1.0. Thanks.
Comment 18 nospam4obr 2002-07-08 10:47:32 UTC
Verified by submitter in OOo 1.0.
Comment 19 nospam4obr 2002-07-08 10:48:55 UTC
Closing issue.